summaryrefslogtreecommitdiffstats
path: root/gcc/integrate.c
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1997-05-01 13:00:40 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1997-05-01 13:00:40 +0000
commitca81075bfb7dd227855c716d15a39a2df90dc223 (patch)
tree7ae4722bda52758951a102b985f90e6abaedd6a0 /gcc/integrate.c
parentbcff8587bfb7fe05c3749a1760dbe39bca5daa4e (diff)
downloadppe42-gcc-ca81075bfb7dd227855c716d15a39a2df90dc223.tar.gz
ppe42-gcc-ca81075bfb7dd227855c716d15a39a2df90dc223.zip
(subst_constants, case SUBREG): Cancel changes once done with result.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14002 138bc75d-0d04-0410-961f-82ee72b054a4
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 693304ab3d1..423ded2ba99 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);
OpenPOWER on IntegriCloud