aboutsummaryrefslogtreecommitdiff
path: root/gcc/combine.c
diff options
context:
space:
mode:
authorAndreas Krebbel <Andreas.Krebbel@de.ibm.com>2010-09-06 14:20:31 +0000
committerAndreas Krebbel <krebbel@gcc.gnu.org>2010-09-06 14:20:31 +0000
commitc18605ccec6c240b67ecf2b4ce2700e7877bf94e (patch)
treef0804d17459f9e6f97ca82a54d3e9ae880ce678c /gcc/combine.c
parent6d105d8db87a50562d855bb54b39b3c21f3e0060 (diff)
downloadgcc-c18605ccec6c240b67ecf2b4ce2700e7877bf94e.zip
gcc-c18605ccec6c240b67ecf2b4ce2700e7877bf94e.tar.gz
gcc-c18605ccec6c240b67ecf2b4ce2700e7877bf94e.tar.bz2
combine.c (try_combine): Set subst_low_luid to i0.
2010-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * combine.c (try_combine): Set subst_low_luid to i0. 2010-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * gcc.dg/20100906-1.c: New testcase. From-SVN: r163917
Diffstat (limited to 'gcc/combine.c')
-rw-r--r--gcc/combine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/combine.c b/gcc/combine.c
index 4c94958..bed5768 100644
--- a/gcc/combine.c
+++ b/gcc/combine.c
@@ -3138,7 +3138,7 @@ try_combine (rtx i3, rtx i2, rtx i1, rtx i0, int *new_direct_jump_p)
}
n_occurrences = 0;
- subst_low_luid = DF_INSN_LUID (i1);
+ subst_low_luid = DF_INSN_LUID (i0);
newpat = subst (newpat, i0dest, i0src, 0,
i0_feeds_i1_n && i0dest_in_i0src);
substed_i0 = 1;