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...@intel.com>
+
+       PR testsuite/50085
+       * g++.dg/opt/life1.C: Only run on Linux.
+
 2011-08-15  Tobias Burnus  <bur...@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" }
 

Reply via email to