explow.c (allocate_dynamic_stack_space): Correctly convert TARGET to Pmode.
authorDonn Terry <donn@interix.com>
Wed, 14 Apr 1999 18:48:53 +0000 (18:48 +0000)
committerJeff Law <law@gcc.gnu.org>
Wed, 14 Apr 1999 18:48:53 +0000 (12:48 -0600)
        * explow.c (allocate_dynamic_stack_space): Correctly convert TARGET
        to Pmode.

From-SVN: r26458

gcc/ChangeLog
gcc/explow.c

index ebdb3cc7fe08b75c3bc6b0ff70d10c4ed6de80d2..67e74bebc36292a892dba087985f25122a335c37 100644 (file)
@@ -1,3 +1,8 @@
+Wed Apr 14 19:42:02 1999  Donn Terry (donn@interix.com)
+
+       * explow.c (allocate_dynamic_stack_space): Correctly convert TARGET
+       to Pmode.
+
 Wed Apr 14 14:26:36 1999  John Wehle  (john@feith.com)
 
        * i386.md (truncxfdf): Output the template supplied
index 1c9280232660ccc0bbaebb12894a4107eb8b07fc..4bbe43567956bd5c5be449674430fce24aff6493 100644 (file)
@@ -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])