This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: REG_SETJMP instead of NOTE_INSN_SETJMP
On Sat, Aug 11, 2001 at 09:16:48PM +0200, Roman Zippel wrote:
> Internal compiler error in distribute_notes, at combine.c:12464
This should fix it.
r~
* combine.c (distribute_notes): Place REG_SETJMP.
Index: combine.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/combine.c,v
retrieving revision 1.226
diff -c -p -d -r1.226 combine.c
*** combine.c 2001/08/08 06:15:20 1.226
--- combine.c 2001/08/11 20:15:29
*************** distribute_notes (notes, from_insn, i3,
*** 12010,12015 ****
--- 12010,12016 ----
case REG_EH_RETHROW:
case REG_NORETURN:
+ case REG_SETJMP:
/* These notes must remain with the call. It should not be
possible for both I2 and I3 to be a call. */
if (GET_CODE (i3) == CALL_INSN)