OSDN Git Service

(try_combine): Properly call single_set when validating the result of
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Oct 1992 10:30:37 +0000 (10:30 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Oct 1992 10:30:37 +0000 (10:30 +0000)
a define_split.

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

gcc/combine.c

index cc7f8f8..aebb6b9 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