(try_combine): Properly call single_set when validating the result of
authorRichard Kenner <kenner@gcc.gnu.org>
Mon, 12 Oct 1992 10:30:37 +0000 (06:30 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 12 Oct 1992 10:30:37 +0000 (06:30 -0400)
a define_split.

From-SVN: r2406

gcc/combine.c

index cc7f8f8884db45492485c71fe71e071f437f1a66..aebb6b980c9d59808b21b24944966322ff65324c 100644 (file)
@@ -1562,8 +1562,8 @@ try_combine (i3, i2, i1)
          rtx newi3pat = PATTERN (XVECEXP (m_split, 0, 1));
          newi2pat = PATTERN (XVECEXP (m_split, 0, 0));
 
-         i2set = single_set (newi2pat);
-         i3set = single_set (newi3pat);
+         i2set = single_set (XVECEXP (m_split, 0, 1));
+         i3set = single_set (XVECEXP (m_split, 0, 0));
 
          /* In case we changed the mode of I2DEST, replace it in the
             pseudo-register table here.  We can't do it above in case this