diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1993-09-17 18:13:33 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1993-09-17 18:13:33 -0400 |
commit | f3becefd609e2ea009838ca4d68a6f2c6645cb19 (patch) | |
tree | 5999fb2404c2e4dc0e11d6a1403b768a01440cd1 | |
parent | 31c85c78b1a99acc017177f21ac497ec243a8028 (diff) | |
download | gcc-f3becefd609e2ea009838ca4d68a6f2c6645cb19.zip gcc-f3becefd609e2ea009838ca4d68a6f2c6645cb19.tar.gz gcc-f3becefd609e2ea009838ca4d68a6f2c6645cb19.tar.bz2 |
(fold_rtx, case MINUS): Copy result obtained from hash table.
From-SVN: r5347
-rw-r--r-- | gcc/cse.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); } |