aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-12-27 16:16:42 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1995-12-27 16:16:42 -0500
commit305f22b53463aad2838a6c71b5293a55a1c3c01e (patch)
tree53efa89d1eb6f27f5e1fd5b969fb23c9aed898e5 /gcc
parenta74abd2e16dba474a7701c21f25c26e46908657a (diff)
downloadgcc-305f22b53463aad2838a6c71b5293a55a1c3c01e.zip
gcc-305f22b53463aad2838a6c71b5293a55a1c3c01e.tar.gz
gcc-305f22b53463aad2838a6c71b5293a55a1c3c01e.tar.bz2
(memory_address, allocate_dynamic_stack_space): Pass additional arg to
mark_reg_pointer. From-SVN: r10885
Diffstat (limited to 'gcc')
-rw-r--r--gcc/explow.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/explow.c b/gcc/explow.c
index 1491217..8987075 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);