From: James E Wilson Date: Mon, 6 Sep 2004 21:05:44 +0000 (+0000) Subject: Fix ppc-darwin bootstrap failure. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d3a583b1fdc8f3e6f5dd31141efbe252bedb16e3;p=gcc.git Fix ppc-darwin bootstrap failure. * emit-rtl.c (try_split): Check INSN_P before may_trap_p call. From-SVN: r87125 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1188b6100f7..37260d7d0ee 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2004-09-06 James E Wilson + + * emit-rtl.c (try_split): Check INSN_P before may_trap_p call. + 2004-09-06 Eric Botcazou * final.c (output_in_slot): Delete. diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index 4d40705d1bc..61b62e5618c 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -3327,7 +3327,7 @@ try_split (rtx pat, rtx trial, int last) 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,