summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/final.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc/final.c')
-rw-r--r--contrib/gcc/final.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gcc/final.c b/contrib/gcc/final.c
index a9ae280..11cfebf 100644
--- a/contrib/gcc/final.c
+++ b/contrib/gcc/final.c
@@ -3103,7 +3103,7 @@ alter_subreg (x)
PUT_CODE (x, MEM);
MEM_COPY_ATTRIBUTES (x, y);
MEM_ALIAS_SET (x) = MEM_ALIAS_SET (y);
- XEXP (x, 0) = plus_constant (XEXP (y, 0), offset);
+ XEXP (x, 0) = plus_constant_for_output (XEXP (y, 0), offset);
}
return x;
OpenPOWER on IntegriCloud