[Bug testsuite/50085] [4.7 Regression] FAIL: g++.dg/opt/life1.C scan-assembler GLOBAL_OFFSET_TABLE on x86_64-apple-darwin10
dominiq at lps dot ens.fr
gcc-bugzilla@gcc.gnu.org
Mon Aug 15 22:04:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50085
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |iains at gcc dot gnu.org,
| |mrs at gcc dot gnu.org
--- Comment #7 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-08-15 21:48:18 UTC ---
> > It required PIC and ILP32 before. Why wasn't supported?
>
> Good question;-) but I don't know the answer!-(
And the answer is
-// { dg-do compile { target i?86-*-linux* x86_64-*-linux* } }
-// { dg-require-effective-target ilp32 }
+// { dg-do compile { target { { i?86-*-* x86_64-*-* } && ia32 } } }
Before the patch, the test was run on linux only. After it it is run on all the
{ i?86-*-* x86_64-*-* } platforms.
An alternative is
// { dg-final { scan-assembler "GLOBAL_OFFSET_TABLE" { xfail *-*-darwin* } } }
I don't know what is supposed to replace "GLOBAL_OFFSET_TABLE" on darwin.
More information about the Gcc-bugs
mailing list