From: Jan Hubicka Date: Tue, 1 Jan 2019 13:30:53 +0000 (+0100) Subject: devirt-36.C: Add dg-do-compile. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=976cbbe1ea4979ebada367a70a28fa7fc1bdef08;p=gcc.git devirt-36.C: Add dg-do-compile. * g++.dg/ipa/devirt-36.C: Add dg-do-compile. * g++.dg/ipa/devirt-53.C: Fix scan template. From-SVN: r267497 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 8ebf5250f34..a309a9567a5 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-01-01 Jan Hubicka + + * g++.dg/ipa/devirt-36.C: Add dg-do-compile. + * g++.dg/ipa/devirt-53.C: Fix scan template. + 2019-01-01 Jan Hubicka * g++.dg/lto/devirt-13_0.C: Drop broken scan of ssa dump. diff --git a/gcc/testsuite/g++.dg/ipa/devirt-36.C b/gcc/testsuite/g++.dg/ipa/devirt-36.C index a8e6387a693..067a2bb8ca1 100644 --- a/gcc/testsuite/g++.dg/ipa/devirt-36.C +++ b/gcc/testsuite/g++.dg/ipa/devirt-36.C @@ -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;}}; diff --git a/gcc/testsuite/g++.dg/ipa/devirt-53.C b/gcc/testsuite/g++.dg/ipa/devirt-53.C index aea4f54346f..ef1b7515dd3 100644 --- a/gcc/testsuite/g++.dg/ipa/devirt-53.C +++ b/gcc/testsuite/g++.dg/ipa/devirt-53.C @@ -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" } } */