(integrate_parm_decls): Copy the DECL_ARG_TYPE value from the PARM_DECL being...

(integrate_parm_decls): Copy the DECL_ARG_TYPE value from the
PARM_DECL being cloned into the DECL_ARG_TYPE field of the clone.

From-SVN: r4188
This commit is contained in:
Richard Kenner 1993-04-21 18:13:54 -04:00
parent abbb952250
commit a76386d8e5
1 changed files with 4 additions and 0 deletions

View File

@ -1756,6 +1756,10 @@ integrate_parm_decls (args, map, arg_vector)
rtx new_decl_rtl
= copy_rtx_and_substitute (RTVEC_ELT (arg_vector, i), map);
DECL_ARG_TYPE (decl) = DECL_ARG_TYPE (tail);
/* We really should be setting DECL_INCOMING_RTL to something reasonable
here, but that's going to require some more work. */
/* DECL_INCOMING_RTL (decl) = ?; */
/* These args would always appear unused, if not for this. */
TREE_USED (decl) = 1;
/* Prevent warning for shadowing with these. */