aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1993-04-21 18:13:54 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1993-04-21 18:13:54 -0400
commita76386d8e5a18762398aa75fe9d35d38792cfe42 (patch)
tree8e1395a4a3b3edff9c74831ee556aa839fac0ca9 /gcc
parentabbb952250cc43d00c7e5b241f12e3d037752720 (diff)
downloadgcc-a76386d8e5a18762398aa75fe9d35d38792cfe42.zip
gcc-a76386d8e5a18762398aa75fe9d35d38792cfe42.tar.gz
gcc-a76386d8e5a18762398aa75fe9d35d38792cfe42.tar.bz2
(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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/integrate.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/integrate.c b/gcc/integrate.c
index 95917c8..ebc219f 100644
--- a/gcc/integrate.c
+++ b/gcc/integrate.c
@@ -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. */