aboutsummaryrefslogtreecommitdiff
path: root/gcc/explow.c
diff options
context:
space:
mode:
authorDonn Terry <donn@interix.com>1999-04-14 18:48:53 +0000
committerJeff Law <law@gcc.gnu.org>1999-04-14 12:48:53 -0600
commit2abed3c1ac55d0f925ef4e306f1b6e112d79408d (patch)
tree588d61a1e6e44f2e493d560f7303211926df1e20 /gcc/explow.c
parentffac3509afece46034af44131b3f5e5fdff97713 (diff)
downloadgcc-2abed3c1ac55d0f925ef4e306f1b6e112d79408d.zip
gcc-2abed3c1ac55d0f925ef4e306f1b6e112d79408d.tar.gz
gcc-2abed3c1ac55d0f925ef4e306f1b6e112d79408d.tar.bz2
explow.c (allocate_dynamic_stack_space): Correctly convert TARGET to Pmode.
* explow.c (allocate_dynamic_stack_space): Correctly convert TARGET to Pmode. From-SVN: r26458
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 1c92802..4bbe435 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])