Commit d2014992 by Jan Hubicka Committed by Jan Hubicka

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
parent 962e88a9
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-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. * g++.dg/tree-prof/devirt.C: Update testcase.
2019-01-01 Jakub Jelinek <jakub@redhat.com> 2019-01-01 Jakub Jelinek <jakub@redhat.com>
......
/* { dg-lto-do run } */ /* { dg-lto-do run } */
/* Call to foo should be devirtualized because there are no derived types of A. */ /* 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" #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"}. */
/* { dg-lto-do run } */ /* { dg-lto-do run } */
/* { dg-lto-options "-O2 -fdump-tree-ssa" } */ /* { dg-lto-options "-O2 -fdump-tree-ssa" } */
#include "../ipa/devirt-14.C" #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"} } */
/* { dg-lto-do run } */ /* { 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" #include "../ipa/devirt-23.C"
/* { dg-final { scan-wpa-ipa-dump "Discovered a virtual call to" "cp" { xfail *-*-* } } } */ /* { dg-final { scan-wpa-ipa-dump "Discovered a virtual call to" "cp" { xfail *-*-* } } } */
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