This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the EGCS project.
Re: bug in new_ia32_branch
- To: Mike Stump <mrs@wrs.com>
- Subject: Re: bug in new_ia32_branch
- From: Richard Henderson <rth@cygnus.com>
- Date: Mon, 26 Jul 1999 18:51:04 -0700
- Cc: egcs-bugs@egcs.cygnus.com, gcc-patches@gcc.gnu.org
- References: <199907270139.SAA14438@kankakee.wrs.com>
On Mon, Jul 26, 1999 at 06:39:03PM -0700, Mike Stump wrote:
> Of course not, it was incomplete, my bad, sorry. Try adding a
> -fsjlj-exceptions to the command line.
Ah hah. Naughty exception handler. No cookie.
r~
* except.c (start_dynamic_cleanup): Use force_operand on the
buffer's address.
Index: except.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/except.c,v
retrieving revision 1.82
diff -c -p -d -r1.82 except.c
*** except.c 1999/04/15 19:54:09 1.82
--- except.c 1999/07/27 01:47:54
*************** start_dynamic_cleanup (func, arg)
*** 1308,1314 ****
/* Update the cleanup chain. */
! emit_move_insn (dcc, XEXP (buf, 0));
}
/* Emit RTL to start a dynamic handler on the EH runtime dynamic
--- 1308,1316 ----
/* Update the cleanup chain. */
! x = force_operand (XEXP (buf, 0), dcc);
! if (x != dcc)
! emit_move_insn (dcc, x);
}
/* Emit RTL to start a dynamic handler on the EH runtime dynamic