This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: PR testsuite/50085: [4.7 Regression] FAIL: g++.dg/opt/life1.C scan-assembler GLOBAL_OFFSET_TABLE on x86_64-apple-darwin10
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 15 Aug 2011 15:05:48 -0700
- Subject: PATCH: PR testsuite/50085: [4.7 Regression] FAIL: g++.dg/opt/life1.C scan-assembler GLOBAL_OFFSET_TABLE on x86_64-apple-darwin10
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
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" }