diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2042aba1efe..d21a6db4278 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-04-09 Roger Sayle + + * expr.c (store_constructor): Don't bother clearing target if + we're about to assign a vector to it using vec_init_optab. + 2006-04-10 Daniel Berlin * tree-ssa-alias.c (lhs_may_store_to): New function. diff --git a/gcc/expr.c b/gcc/expr.c index 904d4fcb30f..1f4cbe10151 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -5325,7 +5325,7 @@ store_constructor (tree exp, rtx target, int cleared, HOST_WIDE_INT size) } /* Inform later passes that the old value is dead. */ - if (!cleared && REG_P (target)) + if (!cleared && !vector && REG_P (target)) emit_move_insn (target, CONST0_RTX (GET_MODE (target))); /* Store each element of the constructor into the corresponding