This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/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: Fri, 17 Jun 2011 11:13:57 +0000
- Subject: [Bug rtl-optimization/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 #10 from Hans-Peter Nilsson <hp at gcc dot gnu.org> 2011-06-17 11:13:42 UTC ---
Author: hp
Date: Fri Jun 17 11:13:38 2011
New Revision: 175139
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175139
Log:
PR rtl-optimization/48542
* reload.c (find_equiv_reg): Stop looking when finding a
setjmp-type call.
* reload1.c (reload_as_needed): Invalidate all reload
registers when crossing a setjmp-type call.
Modified:
branches/gcc-4_6-branch/gcc/ChangeLog
branches/gcc-4_6-branch/gcc/reload.c
branches/gcc-4_6-branch/gcc/reload1.c