Commit 976cbbe1 by Jan Hubicka Committed by Jan Hubicka

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
parent d2014992
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.
* g++.dg/lto/devirt-14_0.C: Drop broken scan of ssa dump.
* g++.dg/lto/devirt-23_0.C: Add -fdump-ipa-cp.
......
/* { 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;}};
......
......@@ -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" } } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment