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]

Re: ICE with --enable-bootstrapping in nothrow_function_p/can_throw


>>>>> grahams  writes:

 > Andreas
 > It looks to me like it should be using XWINT() rather than XINT().

Do you mean this?  With this patch I managed to bootstrap
successfully.  

Btw. there's another place (line 3393) with XINT which might be
wrong.  Could somebody check this?

Thanks,
Andreas

2000-03-10  Andreas Jaeger  <aj@suse.de>

	* except.c (can_throw): Use correct access macro.


*** gcc/except.c.~1~	Thu Mar  9 23:07:24 2000
--- gcc/except.c	Fri Mar 10 17:39:22 2000
*************** can_throw (insn)
*** 2629,2635 ****
    if (GET_CODE (insn) == CALL_INSN)
      {
        rtx note = find_reg_note (insn, REG_EH_REGION, NULL_RTX);
!       if (!note || XINT (XEXP (note, 0), 0) > 0)
  	return 1;
      }
  
--- 2629,2635 ----
    if (GET_CODE (insn) == CALL_INSN)
      {
        rtx note = find_reg_note (insn, REG_EH_REGION, NULL_RTX);
!       if (!note || XWINT (XEXP (note, 0), 0) > 0)
  	return 1;
      }


-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.rhein-neckar.de

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