summaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/function.c b/gcc/function.c
index a47ab3eac0d..851dd246ee9 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -4460,7 +4460,7 @@ assign_parms (fndecl)
/* Set also REG_ATTRS if parameter was passed in a register. */
if (entry_parm)
- set_reg_attrs_from_mem (entry_parm, stack_parm);
+ set_reg_attrs_for_parm (entry_parm, stack_parm);
}
/* If this parameter was passed both in registers and in the stack,