This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

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
 { 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]