(assign_parms): Set REG_USERVAR_P when parm is passed by invisible

reference but can live in register.

From-SVN: r7366
This commit is contained in:
Richard Kenner 1994-05-27 16:13:41 -04:00
parent d720b9d197
commit ba6da62704

View File

@ -3503,6 +3503,7 @@ assign_parms (fndecl, second_time)
/* We can't use nominal_mode, because it will have been set to
Pmode above. We must use the actual mode of the parm. */
parmreg = gen_reg_rtx (TYPE_MODE (TREE_TYPE (parm)));
REG_USERVAR_P (parmreg) = 1;
emit_move_insn (parmreg, DECL_RTL (parm));
DECL_RTL (parm) = parmreg;
/* STACK_PARM is the pointer, not the parm, and PARMREG is