diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2012-09-16 19:58:15 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2012-09-16 19:58:15 +0000 |
commit | 1d1b7dc4221762338014df6586e9ac0cbef2fed7 (patch) | |
tree | 049a08957bc8add5ae81db3cde2ae93f97cf3642 | |
parent | 283126182e96c60b57f8a554b4850d573341797b (diff) | |
download | gcc-1d1b7dc4221762338014df6586e9ac0cbef2fed7.zip gcc-1d1b7dc4221762338014df6586e9ac0cbef2fed7.tar.gz gcc-1d1b7dc4221762338014df6586e9ac0cbef2fed7.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/calls.c | 8 |
2 files changed, 12 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a5106a9..74d1f3c3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/calls.c b/gcc/calls.c index d4d0917..2180a62 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -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)); |