Commit 05d482b9 by Richard Henderson Committed by Richard Henderson

re PR middle-end/6348 (internal error in allocate_dynamic_stack_space with…

re PR middle-end/6348 (internal error in allocate_dynamic_stack_space with STACK_SIZE_MODE non-default)

        PR middle-end/6348
        * explow.c (allocate_dynamic_stack_space): Handle STACK_SIZE_MODE
        different from word_mode.

From-SVN: r64628
parent 86a36a0e
2003-03-20 Richard Henderson <rth@redhat.com>
PR middle-end/6348
* explow.c (allocate_dynamic_stack_space): Handle STACK_SIZE_MODE
different from word_mode.
2003-03-20 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.md (*insv_si_1_n_lshiftrt): Restrict the
......
......@@ -1365,7 +1365,7 @@ allocate_dynamic_stack_space (size, target, known_align)
pred = insn_data[(int) CODE_FOR_allocate_stack].operand[1].predicate;
if (pred && ! ((*pred) (size, mode)))
size = copy_to_mode_reg (mode, size);
size = copy_to_mode_reg (mode, convert_to_mode (mode, size, 1));
emit_insn (gen_allocate_stack (target, size));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment