Commit f00d196d by Jan Hubicka Committed by Jan Hubicka

* except.c (can_throw_internal): Notice RESX instructions.

From-SVN: r82281
parent 963e23c5
2004-05-26 Jan Hubicka <jh@suse.cz>
* except.c (can_throw_internal): Notice RESX instructions.
2004-05-26 Eric Botcazou <ebotcazou@act-europe.fr>
* varasm.c (output_constant) <INTEGER_TYPE>: Pass the minimum
......
......@@ -3145,6 +3145,11 @@ can_throw_internal (rtx insn)
return false;
}
if (GET_CODE (insn) == JUMP_INSN
&& GET_CODE (PATTERN (insn)) == RESX
&& XINT (PATTERN (insn), 0) > 0)
return can_throw_internal_1 (XINT (PATTERN (insn), 0));
/* Every insn that might throw has an EH_REGION note. */
note = find_reg_note (insn, REG_EH_REGION, NULL_RTX);
if (!note || INTVAL (XEXP (note, 0)) <= 0)
......
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