function.c (assign_parms): Set reg_attrs for parameters passed in registers.
* function.c (assign_parms): Set reg_attrs for parameters passed in registers. From-SVN: r63458
This commit is contained in:
parent
cec24319c6
commit
1d14f99280
@ -1,3 +1,8 @@
|
||||
2003-02-26 Josef Zlomek <zlomekj@suse.cz>
|
||||
|
||||
* function.c (assign_parms): Set reg_attrs for parameters passed in
|
||||
registers.
|
||||
|
||||
2003-02-26 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
PR target/9681
|
||||
|
@ -4454,6 +4454,10 @@ assign_parms (fndecl)
|
||||
offset_rtx));
|
||||
|
||||
set_mem_attributes (stack_parm, parm, 1);
|
||||
|
||||
/* Set also REG_ATTRS if parameter was passed in a register. */
|
||||
if (entry_parm)
|
||||
set_reg_attrs_from_mem (entry_parm, stack_parm);
|
||||
}
|
||||
|
||||
/* If this parameter was passed both in registers and in the stack,
|
||||
|
Loading…
Reference in New Issue
Block a user