devirt-36.C: Add dg-do-compile.
authorJan Hubicka <hubicka@ucw.cz>
Tue, 1 Jan 2019 13:30:53 +0000 (14:30 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 1 Jan 2019 13:30:53 +0000 (13:30 +0000)
* g++.dg/ipa/devirt-36.C: Add dg-do-compile.
* g++.dg/ipa/devirt-53.C: Fix scan template.

From-SVN: r267497

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ipa/devirt-36.C
gcc/testsuite/g++.dg/ipa/devirt-53.C

index 8ebf525..a309a95 100644 (file)
@@ -1,5 +1,10 @@
 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.
index a8e6387..067a2bb 100644 (file)
@@ -1,3 +1,4 @@
+/* { 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;}};
index aea4f54..ef1b751 100644 (file)
@@ -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"  } } */