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