http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50085
H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hjl.tools at gmail dot com --- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2011-08-15 13:29:46 UTC --- Can you try this --- diff --git a/gcc/testsuite/g++.dg/opt/life1.C b/gcc/testsuite/g++.dg/opt/life1.C index 42fd744..cacd365 100644 --- a/gcc/testsuite/g++.dg/opt/life1.C +++ b/gcc/testsuite/g++.dg/opt/life1.C @@ -1,7 +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-require-effective-target fpic } +// { dg-do compile { target { { i?86-*-* x86_64-*-* } && ia32 && fpic} } } // { dg-options "-O2 -fPIC" } struct A { }; ---