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 | |
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')
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/explow.c | 6 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a09b90c..a82430e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -4,6 +4,9 @@ Wed Apr 14 19:57:49 1999 Jeffrey A Law (law@cygnus.com) target_cpu_default. * configure: Rebuilt. + * explow.c (allocate_dynamic_stack_space): Undo last change. Use + convert_memory_address instead. + Wed Apr 14 19:42:02 1999 Donn Terry (donn@interix.com) * alpha/lib1funcs.asm: New file. 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]) |