This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/51784] PIC register not correctly preserved in nested funcs / with non-local goto
- From: "iains at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 14 Jan 2012 15:58:32 +0000
- Subject: [Bug target/51784] PIC register not correctly preserved in nested funcs / with non-local goto
- Auto-submitted: auto-generated
- References: <bug-51784-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51784
--- Comment #28 from Iain Sandoe <iains at gcc dot gnu.org> 2012-01-14 15:58:32 UTC ---
Created attachment 26324
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26324
a first attempt at a fix
this is pretty much the first ever RTL I've written ....
... so comments welcome ...
I've had a quick look at the output on a couple of test-cases and it seems to
DTRT .. but it's "hardly tested" so far.