devirt-13_0.C: Drop broken scan of ssa dump.

* 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.

From-SVN: r267496
This commit is contained in:
Jan Hubicka 2019-01-01 14:10:39 +01:00 committed by Jan Hubicka
parent 962e88a9f5
commit d2014992c0
4 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
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.
2019-01-01 Jan Hubicka <hubicka@ucw.cz>
* g++.dg/tree-prof/devirt.C: Update testcase.

View File

@ -1,5 +1,5 @@
/* { dg-lto-do run } */
/* Call to foo should be devirtualized because there are no derived types of A. */
/* { dg-lto-options "-O2 -flto -fdump-tree-ssa" } */
/* { dg-lto-options "-O2 -flto" } */
#include "../ipa/devirt-13.C"
/* { dg-final { scan-tree-dump-times "OBJ_TYPE_REF" 0 "ssa"} } */
/* Ideally we should also { scan-tree-dump-times "OBJ_TYPE_REF" 0 "ssa"}. */

View File

@ -1,4 +1,4 @@
/* { dg-lto-do run } */
/* { dg-lto-options "-O2 -fdump-tree-ssa" } */
#include "../ipa/devirt-14.C"
/* { dg-final { scan-tree-dump-not "A.*foo" "ssa"} } */
/* Ideally we should also { scan-tree-dump-not "A.*foo" "ssa"} } */

View File

@ -1,4 +1,4 @@
/* { dg-lto-do run } */
/* { dg-lto-options { "-O3 -fno-early-inlining -fno-ipa-sra -flto -fno-devirtualize-speculatively" } } */
/* { dg-lto-options { "-O3 -fno-early-inlining -fno-ipa-sra -fdump-ipa-cp -flto -fno-devirtualize-speculatively" } } */
#include "../ipa/devirt-23.C"
/* { dg-final { scan-wpa-ipa-dump "Discovered a virtual call to" "cp" { xfail *-*-* } } } */