diff mbox

[PR55927] Disable early inlining in g++.dg/ipa/devirt-10.C

Message ID 20130124103722.GB32427@virgil.suse
State New
Headers show

Commit Message

Martin Jambor Jan. 24, 2013, 10:37 a.m. UTC
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  <mjambor@suse.cz>

	PR tree-optimization/55927
	* g++.dg/ipa/devirt-10.C: Disable early inlining.
diff mbox

Patch

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
 {