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:
Josef Zlomek 2003-02-26 07:45:21 +01:00 committed by Josef Zlomek
parent cec24319c6
commit 1d14f99280
2 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -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,