aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2008-11-22 09:27:04 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2008-11-22 09:27:04 +0100
commitbbd46fd5f2d15d910e54c4f0e39ac23e774ba1c2 (patch)
tree3517d6c361d0fd0e965015834495619bff936f0f /gcc
parentb7c7b76871e7331f15c89c903f7c1509816670c4 (diff)
downloadgcc-bbd46fd5f2d15d910e54c4f0e39ac23e774ba1c2.zip
gcc-bbd46fd5f2d15d910e54c4f0e39ac23e774ba1c2.tar.gz
gcc-bbd46fd5f2d15d910e54c4f0e39ac23e774ba1c2.tar.bz2
re PR middle-end/37316 (Small structs are not passed correctly on hppa64-*-*)
PR middle-end/37316 * function.c (assign_parm_remove_parallels): Pass data->passed_type as third argument to emit_group_store. From-SVN: r142115
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/function.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0fafb1f..ca87591 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
2008-11-22 Jakub Jelinek <jakub@redhat.com>
+ PR middle-end/37316
+ * function.c (assign_parm_remove_parallels): Pass
+ data->passed_type as third argument to emit_group_store.
+
PR target/37170
* final.c (mark_symbol_refs_as_used): New function.
* output.h (mark_symbol_refs_as_used): New prototype.
diff --git a/gcc/function.c b/gcc/function.c
index 233ff6d..8320790 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -2436,7 +2436,7 @@ assign_parm_remove_parallels (struct assign_parm_data_one *data)
if (GET_CODE (entry_parm) == PARALLEL && GET_MODE (entry_parm) != BLKmode)
{
rtx parmreg = gen_reg_rtx (GET_MODE (entry_parm));
- emit_group_store (parmreg, entry_parm, NULL_TREE,
+ emit_group_store (parmreg, entry_parm, data->passed_type,
GET_MODE_SIZE (GET_MODE (entry_parm)));
entry_parm = parmreg;
}