]> gcc.gnu.org Git - gcc.git/commitdiff
* combine.c (try_combine): Handle a SEQUENCE of one insn.
authorRichard Henderson <rth@redhat.com>
Thu, 11 Oct 2001 06:55:16 +0000 (23:55 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 11 Oct 2001 06:55:16 +0000 (23:55 -0700)
From-SVN: r46177

gcc/ChangeLog
gcc/combine.c

index 1b06df2be1d32ba3469e4af4d0defbf6a464da60..90ff4bc645b9eac112908144a2643b3ebe116952 100644 (file)
@@ -1,3 +1,12 @@
+2001-10-10  Richard Henderson  <rth@redhat.com>
+
+        * combine.c (try_combine): Handle a SEQUENCE of one insn.
+
+2001-10-10  Richard Henderson  <rth@redhat.com>
+
+       * langhooks.c: Include langhooks.h.
+       * Makefile.in (langhooks.o): Depend on it.
+
 Wed Oct 10 23:49:06 EDT 2001  John Wehle  (john@feith.com)
 
        * rtlanal.c (noop_move_p): Insns with a REG_RETVAL note
index 43b1b9e9a1913830ae559e790cebb5e2b619e063..12225db3c12d3603fb222d6cf9cb89cf2701115a 100644 (file)
@@ -2132,6 +2132,12 @@ try_combine (i3, i2, i1, new_direct_jump_p)
            }
        }
 
+      /* If we've split a jump pattern, we'll wind up with a sequence even
+        with one instruction.  We can handle that below, so extract it.  */
+      if (m_split && GET_CODE (m_split) == SEQUENCE
+         && XVECLEN (m_split, 0) == 1)
+       m_split = PATTERN (XVECEXP (m_split, 0, 0));
+
       if (m_split && GET_CODE (m_split) != SEQUENCE)
        {
          insn_code_number = recog_for_combine (&m_split, i3, &new_i3_notes);
This page took 0.096948 seconds and 5 git commands to generate.