Hi, this patch does housekeeping for ipa directory. I still plan to port more of the non-LTO testcases into LTO variant (to be sure LTO devirtualization works same way as non-LTO) but will do that after handling bugs and other higher priority tasks.
Honza * g++.dg/ipa/devirt-36.C: Add dg-do-compile. * g++.dg/ipa/devirt-53.C: Fix scan template. Index: g++.dg/ipa/devirt-36.C =================================================================== --- g++.dg/ipa/devirt-36.C (revision 267494) +++ g++.dg/ipa/devirt-36.C (working copy) @@ -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: g++.dg/ipa/devirt-53.C =================================================================== --- g++.dg/ipa/devirt-53.C (revision 267494) +++ g++.dg/ipa/devirt-53.C (working copy) @@ -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" } } */