From c60a3c2ffc9d522be4befd53fdcc10f2b9fd8682 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sun, 17 Sep 1995 12:39:13 -0400 Subject: (ASM_DECLARE_FUNCTION_NAME): If a parameter's type has TYPE_NEEDS_CONSTRUCTING on... (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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gcc') diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h index 485dbbc..5fbe755 100644 --- a/gcc/config/pa/pa.h +++ b/gcc/config/pa/pa.h @@ -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) \ { \ -- cgit v1.1