diff options
author | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-06 21:05:44 +0000 |
---|---|---|
committer | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-06 21:05:44 +0000 |
commit | 379670b13f1197d76182b21b4fd163a273f38602 (patch) | |
tree | 89e98635259fce8556287aab61b470e98ebf74a6 /gcc/emit-rtl.c | |
parent | 3edd903293a66f2ce1899d3acbdde28523249e6b (diff) | |
download | gcc-379670b13f1197d76182b21b4fd163a273f38602.tar.gz |
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
Diffstat (limited to 'gcc/emit-rtl.c')
-rw-r--r-- | gcc/emit-rtl.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |