From: wilson Date: Mon, 6 Sep 2004 21:05:44 +0000 (+0000) Subject: Fix ppc-darwin bootstrap failure. X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=commitdiff_plain;h=379670b13f1197d76182b21b4fd163a273f38602 Fix ppc-darwin bootstrap failure. * 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 --- 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,