* 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
+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.
/* { 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"}. */
/* { 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"} } */
/* { 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 *-*-* } } } */