Commit cf26aa89 by Roger Sayle Committed by Roger Sayle

expr.c (store_constructor): Don't bother clearing target if we're about to…

expr.c (store_constructor): Don't bother clearing target if we're about to assign a vector to it using...


	* expr.c (store_constructor): Don't bother clearing target if
	we're about to assign a vector to it using vec_init_optab.

From-SVN: r112817
parent ef2bb311
2006-04-09 Roger Sayle <roger@eyesopen.com>
* 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 <dberlin@dberlin.org> 2006-04-10 Daniel Berlin <dberlin@dberlin.org>
* tree-ssa-alias.c (lhs_may_store_to): New function. * tree-ssa-alias.c (lhs_may_store_to): New function.
......
...@@ -5325,7 +5325,7 @@ store_constructor (tree exp, rtx target, int cleared, HOST_WIDE_INT size) ...@@ -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. */ /* 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))); emit_move_insn (target, CONST0_RTX (GET_MODE (target)));
/* Store each element of the constructor into the corresponding /* Store each element of the constructor into the corresponding
......
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