summaryrefslogtreecommitdiff
path: root/gcc/calls.c
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2012-09-16 19:58:15 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2012-09-16 19:58:15 +0000
commit5bd5c1c29293665fb1b7f588eac9d94c369a96c6 (patch)
tree049a08957bc8add5ae81db3cde2ae93f97cf3642 /gcc/calls.c
parent0020602986c01e88b90ca5fa116b70420deaa693 (diff)
downloadgcc-5bd5c1c29293665fb1b7f588eac9d94c369a96c6.tar.gz
gcc/
* calls.c (expand_call): Use emit_group_move for PARALLEL->PARALLEL moves. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191363 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/calls.c')
-rw-r--r--gcc/calls.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/calls.c b/gcc/calls.c
index d4d0917bd1e..2180a622002 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));