This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

sjlj eh patch


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]