* optabs.c (emit_libcall_block): Don't mark calls as CONST_CALL_P.

From-SVN: r41963
This commit is contained in:
Mark Mitchell 2001-05-11 15:28:40 +00:00 committed by Mark Mitchell
parent 281c45f682
commit 897aa57fd0
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2001-05-11 Mark Mitchell <mark@codesourcery.com>
* optabs.c (emit_libcall_block): Don't mark calls as CONST_CALL_P.
2001-05-11 Neil Booth <neil@daikokuya.demon.co.uk>
* c-common.c (finish_label_expr): New function, lifted from

View File

@ -2826,14 +2826,13 @@ emit_libcall_block (insns, target, result, equiv)
/* look for any CALL_INSNs in this sequence, and attach a REG_EH_REGION
reg note to indicate that this call cannot throw or execute a nonlocal
goto (unless there is already a REG_EH_REGION note, in which case
we update it). Also set the CONST_CALL_P flag. */
we update it). */
for (insn = insns; insn; insn = NEXT_INSN (insn))
if (GET_CODE (insn) == CALL_INSN)
{
rtx note = find_reg_note (insn, REG_EH_REGION, NULL_RTX);
CONST_CALL_P (insn) = 1;
if (note != 0)
XEXP (note, 0) = GEN_INT (-1);
else