diff options
author | David S. Miller <davem@redhat.com> | 2002-06-11 07:24:45 -0700 |
---|---|---|
committer | David S. Miller <davem@gcc.gnu.org> | 2002-06-11 07:24:45 -0700 |
commit | 6f9703afa53c47ba80b08763d9056a801105f6c5 (patch) | |
tree | aa1939ed5444fc5b7b0b26c6b4c867821ad075aa /gcc/emit-rtl.c | |
parent | b2ccb744c6bab887d1749cdbe19cb7e4ccc54446 (diff) | |
download | gcc-6f9703afa53c47ba80b08763d9056a801105f6c5.zip gcc-6f9703afa53c47ba80b08763d9056a801105f6c5.tar.gz gcc-6f9703afa53c47ba80b08763d9056a801105f6c5.tar.bz2 |
emit-rtl.c (try_split): Do not abort on non-INSN_P.
2002-06-11 David S. Miller <davem@redhat.com>
* emit-rtl.c (try_split): Do not abort on non-INSN_P.
Only run RTX equality checks on INSN_P rtl.
From-SVN: r54502
Diffstat (limited to 'gcc/emit-rtl.c')
-rw-r--r-- | gcc/emit-rtl.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index a78a574..bdcd1cd 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; |