bug in new_ia32_branch

Richard Henderson rth@cygnus.com
Mon Jul 26 18:51:00 GMT 1999


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


More information about the Gcc-patches mailing list