From: David S. Miller Date: Tue, 11 Jun 2002 14:24:45 +0000 (-0700) Subject: emit-rtl.c (try_split): Do not abort on non-INSN_P. X-Git-Tag: releases/gcc-3.3.0~4409 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6f9703afa53c47ba80b08763d9056a801105f6c5;p=thirdparty%2Fgcc.git emit-rtl.c (try_split): Do not abort on non-INSN_P. 2002-06-11 David S. Miller * emit-rtl.c (try_split): Do not abort on non-INSN_P. Only run RTX equality checks on INSN_P rtl. From-SVN: r54502 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d173955c8100..bc8dd0e5884c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-06-11 David S. Miller + + * emit-rtl.c (try_split): Do not abort on non-INSN_P. + Only run RTX equality checks on INSN_P rtl. + 2002-06-11 Ulrich Weigand * config/s390/s390.md (reload_base, ltorg): Remove. diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index a78a5747d9ec..bdcd1cd03ccf 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -3101,10 +3101,6 @@ try_split (pat, trial, last) if (seq) { - /* SEQ can only be a list of insns. */ - if (! INSN_P (seq)) - abort (); - /* Sometimes there will be only one insn in that list, this case will normally arise only when we want it in turn to be split (SFmode on the 29k is an example). */ @@ -3118,7 +3114,8 @@ try_split (pat, trial, last) insn_last = seq; while (1) { - if (rtx_equal_p (PATTERN (insn_last), pat)) + if (INSN_P (insn_last) + && rtx_equal_p (PATTERN (insn_last), pat)) return trial; if (NEXT_INSN (insn_last) == NULL_RTX) break;