This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/48542] mmix code which calls setjmp/longjmp may not work.
- From: "hp at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 7 Jun 2011 05:46:14 +0000
- Subject: [Bug target/48542] mmix code which calls setjmp/longjmp may not work.
- Auto-submitted: auto-generated
- References: <bug-48542-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48542
--- Comment #4 from Hans-Peter Nilsson <hp at gcc dot gnu.org> 2011-06-07 05:46:10 UTC ---
(In reply to comment #3)
> Your patch looks likely
Something along those lines might be sufficient and contained for release
branches, but I think it should be differently at least on trunk: the
initial-value machinery should have handled the register with the
return-address being clobbered. It does partially; note the store of that
register at the function prologue (with an unpatched gcc).