diff options
author | Jeffrey A Law <law@cygnus.com> | 1999-04-14 19:43:02 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1999-04-14 13:43:02 -0600 |
commit | e0a5241098f00f4490069d0b5c619bbe6b5714d6 (patch) | |
tree | 936c7899335e7bf96a5cde41efa5659c0b6f362e /gcc/explow.c | |
parent | 8354da48a478e55b3ea8f8515bd6ace7ef5113a3 (diff) | |
download | gcc-e0a5241098f00f4490069d0b5c619bbe6b5714d6.zip gcc-e0a5241098f00f4490069d0b5c619bbe6b5714d6.tar.gz gcc-e0a5241098f00f4490069d0b5c619bbe6b5714d6.tar.bz2 |
explow.c (allocate_dynamic_stack_space): Undo last change.
* explow.c (allocate_dynamic_stack_space): Undo last change. Use
convert_memory_address instead.
From-SVN: r26461
Diffstat (limited to 'gcc/explow.c')
-rw-r--r-- | gcc/explow.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/explow.c b/gcc/explow.c index 4bbe435..b003647 100644 --- a/gcc/explow.c +++ b/gcc/explow.c @@ -1261,7 +1261,11 @@ allocate_dynamic_stack_space (size, target, known_align) if (insn_operand_predicate[(int) CODE_FOR_allocate_stack][0] && ! ((*insn_operand_predicate[(int) CODE_FOR_allocate_stack][0]) (target, Pmode))) - target = convert_to_mode (Pmode, target, 1); +#ifdef POINTERS_EXTEND_UNSIGNED + target = convert_memory_address (Pmode, target); +#else + target = copy_to_mode_reg (Pmode, target); +#endif size = convert_modes (mode, ptr_mode, size, 1); if (insn_operand_predicate[(int) CODE_FOR_allocate_stack][1] && ! ((*insn_operand_predicate[(int) CODE_FOR_allocate_stack][1]) |