summaryrefslogtreecommitdiff
path: root/gcc/explow.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-04-14 18:48:53 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-04-14 18:48:53 +0000
commit00d3beadced1ae82a028d33a2dcd1d0a340eed82 (patch)
tree588d61a1e6e44f2e493d560f7303211926df1e20 /gcc/explow.c
parent6a80a8da1dc583b92e12b4d16ff37fd565cfec81 (diff)
downloadgcc-00d3beadced1ae82a028d33a2dcd1d0a340eed82.tar.gz
* explow.c (allocate_dynamic_stack_space): Correctly convert TARGET
to Pmode. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26458 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/explow.c')
-rw-r--r--gcc/explow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/explow.c b/gcc/explow.c
index 1c928023266..4bbe4356795 100644
--- a/gcc/explow.c
+++ b/gcc/explow.c
@@ -1261,7 +1261,7 @@ 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 = copy_to_mode_reg (Pmode, target);
+ target = convert_to_mode (Pmode, target, 1);
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])