From patchwork Thu Jan 24 10:37:22 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [PR55927] Disable early inlining in g++.dg/ipa/devirt-10.C Date: Thu, 24 Jan 2013 00:37:22 -0000 From: Martin Jambor X-Patchwork-Id: 215307 Message-Id: <20130124103722.GB32427@virgil.suse> To: GCC Patches Hi, PR 55927 is about failing scan dumps in g++.dg/ipa/devirt-10.C on ia64. The problem turned out to be that early inliner was a bit more active on ia64 and left nothing for IPA to figure out and so the strings were not there in the dumps. Fixed below by running the test with early inliner disabled altogether. I checked the patch works by running make -k check RUNTESTFLAGS="dg.exp=devirt*.C" and making sure there were no failures. Will commit it later today/early tomorrow as obvious unless someone objects really soon. Thanks, Martin 2013-01-24 Martin Jambor PR tree-optimization/55927 * g++.dg/ipa/devirt-10.C: Disable early inlining. Index: src/gcc/testsuite/g++.dg/ipa/devirt-10.C =================================================================== --- src.orig/gcc/testsuite/g++.dg/ipa/devirt-10.C +++ src/gcc/testsuite/g++.dg/ipa/devirt-10.C @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O3 -fdump-ipa-inline -fdump-ipa-cp" } */ +/* { dg-options "-O3 -fdump-ipa-inline -fdump-ipa-cp -fno-early-inlining" } */ class wxPaintEvent { }; struct wxDCBase {