This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: ICE with --enable-bootstrapping in nothrow_function_p/can_throw
- To: grahams <grahams at rcp dot co dot uk>
- Subject: Re: ICE with --enable-bootstrapping in nothrow_function_p/can_throw
- From: Andreas Jaeger <aj at suse dot de>
- Date: 10 Mar 2000 19:26:16 +0100
- Cc: gcc-patches at gcc dot gnu dot org, Jason Merrill <jason at casey dot cygnus dot com>
- References: <u8vh2uq31i.fsf@gromit.rhein-neckar.de> <38C91D18.1C9162D4@rcp.co.uk>
>>>>> 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