* function.c (assign_parms): Set RTX_UNCHANGING_P in pseudo when we
do in memory.
From-SVN: r39737
+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.
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)