aboutsummaryrefslogtreecommitdiff
path: root/gcc/combine.c
diff options
context:
space:
mode:
authorJing Yu <jingyu@gcc.gnu.org>2010-01-15 21:38:20 +0000
committerJing Yu <jingyu@gcc.gnu.org>2010-01-15 21:38:20 +0000
commit5a869057b49f37060b718042d5131e4f8d2da802 (patch)
treeecf2d7f1c9f370be88a90b55aa3ca4a91a1f0e5e /gcc/combine.c
parent1018d41ac2d347fa7a8843dd1075674f0cbabf26 (diff)
downloadgcc-5a869057b49f37060b718042d5131e4f8d2da802.zip
gcc-5a869057b49f37060b718042d5131e4f8d2da802.tar.gz
gcc-5a869057b49f37060b718042d5131e4f8d2da802.tar.bz2
Revert revision 155944 due to the broken testcase.
From-SVN: r155946
Diffstat (limited to 'gcc/combine.c')
-rw-r--r--gcc/combine.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/gcc/combine.c b/gcc/combine.c
index e5d4c5a..5ae557c 100644
--- a/gcc/combine.c
+++ b/gcc/combine.c
@@ -2663,16 +2663,10 @@ try_combine (rtx i3, rtx i2, rtx i1, int *new_direct_jump_p)
i2dest = SET_DEST (temp);
i2dest_killed = dead_or_set_p (i2, i2dest);
- /* Replace the source in I2 with the new constant and make the
- resulting insn the new pattern for I3. Then skip to where we
- validate the pattern. Everything was set up above. */
SUBST (SET_SRC (temp),
immed_double_const (olo, ohi, GET_MODE (SET_DEST (temp))));
newpat = PATTERN (i2);
-
- /* The dest of I3 has been replaced with the dest of I2. */
- changed_i3_dest = 1;
goto validate_replacement;
}
}
@@ -3044,6 +3038,8 @@ try_combine (rtx i3, rtx i2, rtx i1, int *new_direct_jump_p)
}
}
+ /* We come here when we are replacing a destination in I2 with the
+ destination of I3. */
validate_replacement:
/* Note which hard regs this insn has as inputs. */