* emit-rtl.c (try_split): Check INSN_P before may_trap_p call.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87125
138bc75d-0d04-0410-961f-
82ee72b054a4
+2004-09-06 James E Wilson <wilson@specifixinc.com>
+
+ * emit-rtl.c (try_split): Check INSN_P before may_trap_p call.
+
2004-09-06 Eric Botcazou <ebotcazou@libertysurf.fr>
* final.c (output_in_slot): Delete.
2004-09-06 Eric Botcazou <ebotcazou@libertysurf.fr>
* final.c (output_in_slot): Delete.
while (insn != NULL_RTX)
{
if (CALL_P (insn)
while (insn != NULL_RTX)
{
if (CALL_P (insn)
- || (flag_non_call_exceptions
+ || (flag_non_call_exceptions && INSN_P (insn)
&& may_trap_p (PATTERN (insn))))
REG_NOTES (insn)
= gen_rtx_EXPR_LIST (REG_EH_REGION,
&& may_trap_p (PATTERN (insn))))
REG_NOTES (insn)
= gen_rtx_EXPR_LIST (REG_EH_REGION,