]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
(assign_parms): Set REG_USERVAR_P when parm is passed by invisible
authorRichard Kenner <kenner@gcc.gnu.org>
Fri, 27 May 1994 20:13:41 +0000 (16:13 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Fri, 27 May 1994 20:13:41 +0000 (16:13 -0400)
reference but can live in register.

From-SVN: r7366

gcc/function.c

index 3d64281dc4e1745cbd33c9da524e0c52ecbe6fee..8d91cb71630e48f8dc29af0be706e2090cb2af63 100644 (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