devirt-13_0.C: Drop broken scan of ssa dump.
authorJan Hubicka <hubicka@ucw.cz>
Tue, 1 Jan 2019 13:10:39 +0000 (14:10 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 1 Jan 2019 13:10:39 +0000 (13:10 +0000)
* 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

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lto/devirt-13_0.C
gcc/testsuite/g++.dg/lto/devirt-14_0.C
gcc/testsuite/g++.dg/lto/devirt-23_0.C

index 0f75fffb2f86f0e99725f0745f99be5d9973b640..8ebf5250f34bd76c7d8092c7c9b7401c571d248c 100644 (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.
index f9015fd29da7bdc1575e4f3e79186955e66f4269..49d7b6576639ca36a153b44dd3b8818c638c7b63 100644 (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"}.  */
index c7528f6da9e47d8ea6d6e3dbd4e45197ac85783c..bdd79d7cdc50ce864c59242b4dbf348ccabe068e 100644 (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"} } */
index 760f95f293762822ee96e101c37297dcd137574b..ad515dcd784b2e954c04c110e18bf4daab7d74dd 100644 (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 *-*-* } } } */