calls.c (expand_call): Use emit_group_move for PARALLEL->PARALLEL moves.

gcc/
	* calls.c (expand_call): Use emit_group_move for PARALLEL->PARALLEL
	moves.

From-SVN: r191363
This commit is contained in:
Richard Sandiford 2012-09-16 19:58:15 +00:00 committed by Richard Sandiford
parent 283126182e
commit 1d1b7dc422
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-09-16 Richard Sandiford <rdsandiford@googlemail.com>
* calls.c (expand_call): Use emit_group_move for PARALLEL->PARALLEL
moves.
2012-09-15 Tom de Vries <tom@codesourcery.com>
* tree-vrp.c (extract_range_from_binary_expr_1): Fix bug in handling of

View File

@ -3273,7 +3273,13 @@ expand_call (tree exp, rtx target, int ignore)
{
if (target == 0)
target = emit_group_move_into_temps (valreg);
else if (!rtx_equal_p (target, valreg))
else if (rtx_equal_p (target, valreg))
;
else if (GET_CODE (target) == PARALLEL)
/* Handle the result of a emit_group_move_into_temps
call in the previous pass. */
emit_group_move (target, valreg);
else
emit_group_store (target, valreg, rettype,
int_size_in_bytes (rettype));