devirt-36.C: Add dg-do-compile.
* g++.dg/ipa/devirt-36.C: Add dg-do-compile. * g++.dg/ipa/devirt-53.C: Fix scan template. From-SVN: r267497
This commit is contained in:
parent
d2014992c0
commit
976cbbe1ea
@ -1,3 +1,8 @@
|
|||||||
|
2019-01-01 Jan Hubicka <hubicka@ucw.cz>
|
||||||
|
|
||||||
|
* g++.dg/ipa/devirt-36.C: Add dg-do-compile.
|
||||||
|
* g++.dg/ipa/devirt-53.C: Fix scan template.
|
||||||
|
|
||||||
2019-01-01 Jan Hubicka <hubicka@ucw.cz>
|
2019-01-01 Jan Hubicka <hubicka@ucw.cz>
|
||||||
|
|
||||||
* g++.dg/lto/devirt-13_0.C: Drop broken scan of ssa dump.
|
* g++.dg/lto/devirt-13_0.C: Drop broken scan of ssa dump.
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
/* { dg-do compile } */
|
||||||
/* { dg-options "-O2 -fdump-ipa-devirt-details -fdump-tree-fre1-details" } */
|
/* { dg-options "-O2 -fdump-ipa-devirt-details -fdump-tree-fre1-details" } */
|
||||||
struct A {virtual int t(void) {return 1;}};
|
struct A {virtual int t(void) {return 1;}};
|
||||||
struct B:A {B(); virtual int t(void) {return 2;}};
|
struct B:A {B(); virtual int t(void) {return 2;}};
|
||||||
|
@ -55,4 +55,4 @@ void fn1() {
|
|||||||
q(new f::L).s(v);
|
q(new f::L).s(v);
|
||||||
}
|
}
|
||||||
/* Check that f::d appears as possible target. */
|
/* Check that f::d appears as possible target. */
|
||||||
/* { dg-final { scan-tree-dump "f::d" "fre" } } */
|
/* { dg-final { scan-tree-dump "f::d" "fre1" } } */
|
||||||
|
Loading…
Reference in New Issue
Block a user