aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/function.c b/gcc/function.c
index 64a272b..1d7687a 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -3881,8 +3881,8 @@ gimplify_parameters (gimple_seq *cleanup)
if (data.passed_pointer)
{
tree type = TREE_TYPE (data.passed_type);
- if (reference_callee_copied (&all.args_so_far_v, TYPE_MODE (type),
- type, data.named_arg))
+ function_arg_info orig_arg (type, data.named_arg);
+ if (reference_callee_copied (&all.args_so_far_v, orig_arg))
{
tree local, t;