aboutsummaryrefslogtreecommitdiff
path: root/gcc/integrate.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1997-05-01 09:00:40 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1997-05-01 09:00:40 -0400
commit26986265837cdfa970dc724f6aa9ea98532e483a (patch)
tree7ae4722bda52758951a102b985f90e6abaedd6a0 /gcc/integrate.c
parent5ef37cd339521e9096b5f13dddb27417499c4b59 (diff)
downloadgcc-26986265837cdfa970dc724f6aa9ea98532e483a.zip
gcc-26986265837cdfa970dc724f6aa9ea98532e483a.tar.gz
gcc-26986265837cdfa970dc724f6aa9ea98532e483a.tar.bz2
(subst_constants, case SUBREG): Cancel changes once done with result.
From-SVN: r14002
Diffstat (limited to 'gcc/integrate.c')
-rw-r--r--gcc/integrate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/integrate.c b/gcc/integrate.c
index 693304a..423ded2 100644
--- a/gcc/integrate.c
+++ b/gcc/integrate.c
@@ -2717,6 +2717,7 @@ subst_constants (loc, insn, map)
new = operand_subword (inner, SUBREG_WORD (x), 0,
GET_MODE (SUBREG_REG (x)));
+ cancel_changes (num_changes);
if (new == 0 && subreg_lowpart_p (x))
new = gen_lowpart_common (GET_MODE (x), inner);