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

From-SVN: r30960
This commit is contained in:
Jakub Jelinek 1999-12-15 17:36:26 +01:00 committed by Jakub Jelinek
parent a087165623
commit 8b725198ed
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,7 @@
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.

View File

@ -1908,6 +1908,9 @@ emit_group_load (dst, orig_src, ssize, align)
src = orig_src;
if (GET_CODE (src) != MEM)
{
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);
}