projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31c85c7
)
(fold_rtx, case MINUS): Copy result obtained from hash table.
author
Richard Kenner
<kenner@gcc.gnu.org>
Fri, 17 Sep 1993 22:13:33 +0000
(18:13 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Fri, 17 Sep 1993 22:13:33 +0000
(18:13 -0400)
From-SVN: r5347
gcc/cse.c
patch
|
blob
|
history
diff --git
a/gcc/cse.c
b/gcc/cse.c
index dd98146ffa8c469b1367757b565aae920551277b..a72e9b9fa3e7b590d2a15319d57313d520a51382 100644
(file)
--- a/
gcc/cse.c
+++ b/
gcc/cse.c
@@
-5215,7
+5215,8
@@
fold_rtx (x, insn)
{
rtx y = lookup_as_function (XEXP (x, 0), PLUS);
if (y && GET_CODE (XEXP (y, 1)) == CONST_INT)
- return fold_rtx (plus_constant (y, -INTVAL (const_arg1)),
+ return fold_rtx (plus_constant (copy_rtx (y),
+ -INTVAL (const_arg1)),
NULL_RTX);
}