Fix ppc-darwin bootstrap failure.

* emit-rtl.c (try_split): Check INSN_P before may_trap_p call.

From-SVN: r87125
This commit is contained in:
James E Wilson 2004-09-06 21:05:44 +00:00 committed by Jim Wilson
parent ff8cea7e3e
commit d3a583b1fd
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
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.

View File

@ -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,