(assign_parms): Clear STACK_PARM when we have a

pass-by-pointer parm that we load into a pseudo.

From-SVN: r6098
This commit is contained in:
Richard Stallman 1993-11-15 05:40:19 +00:00
parent a3579a47d1
commit c110c53d6e
1 changed files with 3 additions and 0 deletions

View File

@ -3412,6 +3412,9 @@ assign_parms (fndecl, second_time)
parmreg = gen_reg_rtx (TYPE_MODE (TREE_TYPE (parm)));
emit_move_insn (parmreg, DECL_RTL (parm));
DECL_RTL (parm) = parmreg;
/* STACK_PARM is the pointer, not the parm, and PARMREG is
now the parm. */
stack_parm = 0;
}
#ifdef FUNCTION_ARG_CALLEE_COPIES
/* If we are passed an arg by reference and it is our responsibility