Commit c198dd74 authored by mmitchel's avatar mmitchel
Browse files

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41963 138bc75d-0d04-0410-961f-82ee72b054a4
parent 6de25f2b
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
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment