Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/g++.dg/ipa/devirt-19.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
1 /* We should specialize for &b and devirtualize the call. | 1 /* We should specialize for &b and devirtualize the call. |
2 Previously we were failing by considering CLOBBER statement to be | 2 Previously we were failing by considering CLOBBER statement to be |
3 a type change. */ | 3 a type change. */ |
4 /* { dg-do compile } */ | 4 /* { dg-do compile } */ |
5 /* { dg-options "-O2 -fdump-ipa-cp" } */ | 5 /* { dg-options "-O2 -fdump-ipa-cp" } */ |
6 /* { dg-additional-options "-Wno-return-type" } */ | |
7 | |
6 struct A { | 8 struct A { |
7 void operator==(const A &); | 9 void operator==(const A &); |
8 }; | 10 }; |
9 class B { | 11 class B { |
10 public: | 12 public: |