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:
Jan Hubicka 2019-01-01 14:30:53 +01:00 committed by Jan Hubicka
parent d2014992c0
commit 976cbbe1ea
3 changed files with 7 additions and 1 deletions

View File

@ -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>
* g++.dg/lto/devirt-13_0.C: Drop broken scan of ssa dump.

View File

@ -1,3 +1,4 @@
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-ipa-devirt-details -fdump-tree-fre1-details" } */
struct A {virtual int t(void) {return 1;}};
struct B:A {B(); virtual int t(void) {return 2;}};

View File

@ -55,4 +55,4 @@ void fn1() {
q(new f::L).s(v);
}
/* Check that f::d appears as possible target. */
/* { dg-final { scan-tree-dump "f::d" "fre" } } */
/* { dg-final { scan-tree-dump "f::d" "fre1" } } */