OSDN Git Service

(integrate_parm_decls): Copy the DECL_ARG_TYPE value from the
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Apr 1993 22:13:54 +0000 (22:13 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Apr 1993 22:13:54 +0000 (22:13 +0000)
PARM_DECL being cloned into the DECL_ARG_TYPE field of the clone.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4188 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/integrate.c

index 95917c8..ebc219f 100644 (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.  */