Commit 8b725198 by Jakub Jelinek Committed by Jakub Jelinek

* expr.c (emit_group_load): Use dst mode if src is VOIDmode.

From-SVN: r30960
parent a0871656
1999-12-15 Jakub Jelinek <jakub@redhat.com>
* expr.c (emit_group_load): Use dst mode if src is VOIDmode.
Wed Dec 15 16:11:55 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
* function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
......
......@@ -1908,7 +1908,10 @@ emit_group_load (dst, orig_src, ssize, align)
src = orig_src;
if (GET_CODE (src) != MEM)
{
src = gen_reg_rtx (GET_MODE (orig_src));
if (GET_CODE (src) == VOIDmode)
src = gen_reg_rtx (GET_MODE (dst));
else
src = gen_reg_rtx (GET_MODE (orig_src));
emit_move_insn (src, orig_src);
}
......
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