aboutsummaryrefslogtreecommitdiff
path: root/gcc/combine.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1992-10-12 06:30:37 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1992-10-12 06:30:37 -0400
commit780ed3aef39fd57a827906fb90a23db89f8480e7 (patch)
tree85c93589aa499b55e1d46ca4fffcaacf2495114c /gcc/combine.c
parent9ee967099fee00dde7a97fbcd79ad96113ce19b4 (diff)
downloadgcc-780ed3aef39fd57a827906fb90a23db89f8480e7.zip
gcc-780ed3aef39fd57a827906fb90a23db89f8480e7.tar.gz
gcc-780ed3aef39fd57a827906fb90a23db89f8480e7.tar.bz2
(try_combine): Properly call single_set when validating the result of
a define_split. From-SVN: r2406
Diffstat (limited to 'gcc/combine.c')
-rw-r--r--gcc/combine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/combine.c b/gcc/combine.c
index cc7f8f8..aebb6b9 100644
--- a/gcc/combine.c
+++ b/gcc/combine.c
@@ -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