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: PR testsuite/50085: [4.7 Regression] FAIL: g++.dg/opt/life1.C scan-assembler GLOBAL_OFFSET_TABLE on x86_64-apple-darwin10


Hi,

g++.dg/opt/life1.C is supposed to be run only on Linux.  I checked in
this patch as an obvious fix.

Thanks.


H.J.
---
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 177771)
+++ ChangeLog	(working copy)
@@ -1,3 +1,8 @@
+2011-08-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR testsuite/50085
+	* g++.dg/opt/life1.C: Only run on Linux.
+
 2011-08-15  Tobias Burnus  <burnus@net-b.de>
 
 	* gfortran.dg/coarray_26.f90: New.
Index: g++.dg/opt/life1.C
===================================================================
--- g++.dg/opt/life1.C	(revision 177771)
+++ g++.dg/opt/life1.C	(working copy)
@@ -1,6 +1,6 @@
 // This testcase did not set up the pic register on IA-32 due
 // to bug in calculate_global_regs_live EH edge handling.
-// { dg-do compile { target { { i?86-*-* x86_64-*-* } && ia32 } } }
+// { dg-do compile { target { { i?86-*-linux* x86_64-*-linux* } && ia32 } } }
 // { dg-require-effective-target fpic }
 // { dg-options "-O2 -fPIC" }
 


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