This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
sjlj eh patch
- To: egcs-patches at egcs dot cygnus dot com
- Subject: sjlj eh patch
- From: Richard Henderson <rth at cygnus dot com>
- Date: Mon, 29 Mar 1999 15:09:21 -0800
emit_move_insn expects only valid operands -- (plus fp -16) is not.
Reviewed by Andrew MacLeod.
r~
* except.c (start_dynamic_handler): Force jmp_buf address to
and operand before moving to memory.
Index: except.c
===================================================================
RCS file: /cvs/cvsfiles/devo/gcc/except.c,v
retrieving revision 1.74
diff -c -p -d -r1.74 except.c
*** except.c 1999/03/05 20:43:28 1.74
--- except.c 1999/03/29 23:05:09
*************** start_dynamic_handler ()
*** 1378,1384 ****
/* We are committed to this, so update the handler chain. */
! emit_move_insn (dhc, XEXP (arg, 0));
}
/* Start an exception handling region for the given cleanup action.
--- 1378,1384 ----
/* We are committed to this, so update the handler chain. */
! emit_move_insn (dhc, force_operand (XEXP (arg, 0), NULL_RTX));
}
/* Start an exception handling region for the given cleanup action.