* expr.c (store_constructor): Handle target REG case for ARRAY_TYPE.
From-SVN: r49805
This commit is contained in:
parent
7f311f637f
commit
725e58b1b6
|
@ -1,3 +1,7 @@
|
|||
Sat Feb 16 13:39:09 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
|
||||
|
||||
* expr.c (store_constructor): Handle target REG case for ARRAY_TYPE.
|
||||
|
||||
2002-02-16 Ulrich Weigand <uweigand@de.ibm.com>
|
||||
|
||||
* config/s390/s390.c (pool_stop_uid, other_chunk, far_away,
|
||||
|
|
|
@ -4617,7 +4617,12 @@ store_constructor (exp, target, cleared, size)
|
|||
if (need_to_clear && size > 0)
|
||||
{
|
||||
if (! cleared)
|
||||
clear_storage (target, GEN_INT (size));
|
||||
{
|
||||
if (REG_P (target))
|
||||
emit_move_insn (target, CONST0_RTX (GET_MODE (target)));
|
||||
else
|
||||
clear_storage (target, GEN_INT (size));
|
||||
}
|
||||
cleared = 1;
|
||||
}
|
||||
else if (REG_P (target))
|
||||
|
|
Loading…
Reference in New Issue