function.c (assign_parms): Set RTX_UNCHANGING_P in pseudo when we do in memory.

* function.c (assign_parms): Set RTX_UNCHANGING_P in pseudo when we
	do in memory.

From-SVN: r39737
This commit is contained in:
Richard Kenner 2001-02-16 02:30:37 +00:00 committed by Richard Kenner
parent 5ace577564
commit d64236b44d
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Thu Feb 15 21:30:26 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* function.c (assign_parms): Set RTX_UNCHANGING_P in pseudo when we
do in memory.
2001-02-15 Mark Mitchell <mark@codesourcery.com>
* invoke.texi (--param): Document.

View File

@ -4706,8 +4706,11 @@ assign_parms (fndecl)
set_mem_attributes (DECL_RTL (parm), parm, 1);
}
else
DECL_RTL (parm) = parmreg;
{
DECL_RTL (parm) = parmreg;
maybe_set_unchanging (DECL_RTL (parm), parm);
}
/* Copy the value into the register. */
if (nominal_mode != passed_mode
|| promoted_nominal_mode != promoted_mode)