summaryrefslogtreecommitdiff
path: root/gcc/explow.c
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1995-12-27 21:16:42 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1995-12-27 21:16:42 +0000
commite41ca6516347790e4074c5a9aeeff466bfd9fc84 (patch)
tree53efa89d1eb6f27f5e1fd5b969fb23c9aed898e5 /gcc/explow.c
parent2eb1d29da2070419d156da16c513c5f9e911f2c7 (diff)
downloadgcc-e41ca6516347790e4074c5a9aeeff466bfd9fc84.tar.gz
(memory_address, allocate_dynamic_stack_space): Pass additional arg to
mark_reg_pointer. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10885 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/explow.c')
-rw-r--r--gcc/explow.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/explow.c b/gcc/explow.c
index 1491217cb93..89870752e8a 100644
--- a/gcc/explow.c
+++ b/gcc/explow.c
@@ -493,11 +493,11 @@ memory_address (mode, x)
if (oldx == x)
return x;
else if (GET_CODE (x) == REG)
- mark_reg_pointer (x);
+ mark_reg_pointer (x, 1);
else if (GET_CODE (x) == PLUS
&& GET_CODE (XEXP (x, 0)) == REG
&& GET_CODE (XEXP (x, 1)) == CONST_INT)
- mark_reg_pointer (XEXP (x, 0));
+ mark_reg_pointer (XEXP (x, 0), 1);
/* OLDX may have been the address on a temporary. Update the address
to indicate that X is now used. */
@@ -1070,7 +1070,7 @@ allocate_dynamic_stack_space (size, target, known_align)
|| REGNO (target) < FIRST_PSEUDO_REGISTER)
target = gen_reg_rtx (Pmode);
- mark_reg_pointer (target);
+ mark_reg_pointer (target, known_align / BITS_PER_UNIT);
#ifndef STACK_GROWS_DOWNWARD
emit_move_insn (target, virtual_stack_dynamic_rtx);