[Bug target/51784] PIC register not correctly preserved in nested funcs / with non-local goto

iains at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jan 14 12:04:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51784

--- Comment #26 from Iain Sandoe <iains at gcc dot gnu.org> 2012-01-14 11:42:41 UTC ---
(In reply to comment #25)

> > I guess xfailing is the thing to do for now ...
> 
> I hate xfail in this kind of situation: I see it as a hypocritical way to say
> "won't fix". Note the test passes with -fno-pic, so I'ld prefer an additional
> option -fno-pic for darwin.

well, I tend to agree about xfails hiding problems away - not a fan either.

However, this problem is not directly related to the test-case (it just happens
to reveal it).

I think we will try to fix this bug - it seems quite serious ... so we could
also decide to live with the test-suite noise?

> BTW what happens on i?86-linux-* with -fpic?

I think as Jakub mentioned, the _GOT solution will not exhibit this problem.



More information about the Gcc-bugs mailing list