summaryrefslogtreecommitdiffstats
path: root/gcc/function.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1994-12-30 02:50:28 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1994-12-30 02:50:28 +0000
commit6b08ae80a1e74949511883ada7429b173fc75f5f (patch)
treee76d1c027d75b3621e5ef33487d810775b94b68e /gcc/function.c
parentc5340e75d06e2d2e72c8c0889831ff2d8c1700ab (diff)
downloadppe42-gcc-6b08ae80a1e74949511883ada7429b173fc75f5f.tar.gz
ppe42-gcc-6b08ae80a1e74949511883ada7429b173fc75f5f.zip
* calls.c (expand_call): Set MEM_IN_STRUCT_P as needed on return
value from assign_stack_temp. (store_one_arg): Likewise. * expr.c (save_noncopied_parts): Likewise. (expand_expr): Likewise. * function.c (assign_parms): Likewise. * integrate.c (expand_inline_function): Likewise. * stmt.c (expand_decl): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8708 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/function.c b/gcc/function.c
index 6dfc17cac1d..884cca70ff2 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -3646,6 +3646,7 @@ assign_parms (fndecl, second_time)
else
copy = assign_stack_temp (TYPE_MODE (type),
int_size_in_bytes (type), 1);
+ MEM_IN_STRUCT_P (copy) = AGGREGATE_TYPE_P (type);
store_expr (parm, copy, 0);
emit_move_insn (parmreg, XEXP (copy, 0));
OpenPOWER on IntegriCloud