* expr.c (emit_group_load): Use dst mode if src is VOIDmode.
From-SVN: r30960
This commit is contained in:
parent
a087165623
commit
8b725198ed
@ -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.
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user