]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2002-06-11 David S. Miller <davem@redhat.com>
authordavem <davem@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Jun 2002 14:24:45 +0000 (14:24 +0000)
committerdavem <davem@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Jun 2002 14:24:45 +0000 (14:24 +0000)
* emit-rtl.c (try_split): Do not abort on non-INSN_P.
Only run RTX equality checks on INSN_P rtl.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54502 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/emit-rtl.c

index d173955c810038a8cd585dd0bf571d926c35101c..bc8dd0e5884cd217a398b7e55f981397c749432c 100644 (file)
@@ -1,3 +1,8 @@
+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.
+
 2002-06-11  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * config/s390/s390.md (reload_base, ltorg): Remove.
index a78a5747d9eca3f09bf1b336b241ef0b67f402ae..bdcd1cd03ccffabc906f6f84bcaf76c54e1daaef 100644 (file)
@@ -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;