diff options
author | Richard Stallman <rms@gnu.org> | 1993-10-27 23:22:38 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-10-27 23:22:38 +0000 |
commit | 0af62b41cdf34768bec569d3a4d0ff7f6cada9a3 (patch) | |
tree | a8e58f2b7e7dbc7b61cf5b0598ccc2446b2a24d8 | |
parent | 281ec92f7e7888aad2781d28cea88d98b01c432e (diff) | |
download | gcc-0af62b41cdf34768bec569d3a4d0ff7f6cada9a3.zip gcc-0af62b41cdf34768bec569d3a4d0ff7f6cada9a3.tar.gz gcc-0af62b41cdf34768bec569d3a4d0ff7f6cada9a3.tar.bz2 |
(cse_insn): When using src_related, copy the rtx.
Likewise for src_eqv_here.
From-SVN: r5922
-rw-r--r-- | gcc/cse.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6403,9 +6403,9 @@ cse_insn (insn, in_libcall_block) trial = src, src_cost = 10000; else if (src_eqv_cost <= src_related_cost && src_eqv_cost <= src_elt_cost) - trial = src_eqv_here, src_eqv_cost = 10000; + trial = copy_rtx (src_eqv_here), src_eqv_cost = 10000; else if (src_related_cost <= src_elt_cost) - trial = src_related, src_related_cost = 10000; + trial = copy_rtx (src_related), src_related_cost = 10000; else { trial = copy_rtx (elt->exp); |