]> gcc.gnu.org Git - gcc.git/commitdiff
(ASM_DECLARE_FUNCTION_NAME): If a parameter's type has TYPE_NEEDS_CONSTRUCTING on...
authorRichard Kenner <kenner@gcc.gnu.org>
Sun, 17 Sep 1995 16:39:13 +0000 (12:39 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Sun, 17 Sep 1995 16:39:13 +0000 (12:39 -0400)
(ASM_DECLARE_FUNCTION_NAME): If a parameter's type has
TYPE_NEEDS_CONSTRUCTING on, then it's passed by invisible reference.

From-SVN: r10371

gcc/config/pa/pa.h

index 485dbbce1a889d2f839cf72c97505f38ab9cb9ac..5fbe75567429a09e8c5e9b3d0d97ead43176b55d 100644 (file)
@@ -1067,7 +1067,8 @@ extern enum cmp_type hppa_branch_type;
                                          DECL_ARG_TYPE (parm));        \
                     /* Passing structs by invisible reference uses     \
                        one general register.  */                       \
-                    if (arg_size > 2)                                  \
+                    if (arg_size > 2                                   \
+                        || TYPE_NEEDS_CONSTRUCTING (DECL_ARG_TYPE (parm)))\
                       arg_size = 1;                                    \
                     if (arg_size == 2 && i <= 2)                       \
                       {                                                \
This page took 0.075052 seconds and 5 git commands to generate.