Commit 1939f02b by Uros Bizjak

re PR middle-end/55235 (FAIL: gcc.target/i386/pr44948-2a.c)

	PR middle-end/55235
	* expr.c (store_expr): Do not call emit_block_move for
	non-BLKmode values.

From-SVN: r193314
parent dd64a6f7
2012-11-07 Uros Bizjak <ubizjak@gmail.com>
PR middle-end/55235
* expr.c (store_expr): Do not call emit_block_move for
non-BLKmode values.
2012-11-07 Eric Botcazou <ebotcazou@adacore.com> 2012-11-07 Eric Botcazou <ebotcazou@adacore.com>
PR middle-end/55219 PR middle-end/55219
...@@ -7,8 +13,7 @@ ...@@ -7,8 +13,7 @@
2012-11-07 Vladimir Makarov <vmakarov@redhat.com> 2012-11-07 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/55122 PR rtl-optimization/55122
* lra-constraints.c (match_reload): Sync values for dead input * lra-constraints.c (match_reload): Sync values for dead input pseudos.
pseudos.
2012-11-07 Richard Henderson <rth@redhat.com> 2012-11-07 Richard Henderson <rth@redhat.com>
...@@ -5246,9 +5246,7 @@ store_expr (tree exp, rtx target, int call_param_p, bool nontemporal) ...@@ -5246,9 +5246,7 @@ store_expr (tree exp, rtx target, int call_param_p, bool nontemporal)
{ {
if (GET_MODE (target) == BLKmode) if (GET_MODE (target) == BLKmode)
{ {
if (REG_P (temp)) if (REG_P (temp) && TREE_CODE (exp) == CALL_EXPR)
{
if (TREE_CODE (exp) == CALL_EXPR)
copy_blkmode_from_reg (target, temp, TREE_TYPE (exp)); copy_blkmode_from_reg (target, temp, TREE_TYPE (exp));
else else
store_bit_field (target, store_bit_field (target,
...@@ -5256,11 +5254,6 @@ store_expr (tree exp, rtx target, int call_param_p, bool nontemporal) ...@@ -5256,11 +5254,6 @@ store_expr (tree exp, rtx target, int call_param_p, bool nontemporal)
0, 0, 0, GET_MODE (temp), temp); 0, 0, 0, GET_MODE (temp), temp);
} }
else else
emit_block_move (target, temp, expr_size (exp),
(call_param_p
? BLOCK_OP_CALL_PARM : BLOCK_OP_NORMAL));
}
else
convert_move (target, temp, TYPE_UNSIGNED (TREE_TYPE (exp))); convert_move (target, temp, TYPE_UNSIGNED (TREE_TYPE (exp)));
} }
......
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