projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
278479e
)
pa.h (ASM_DECLARE_FUNCTION_NAME): Handle invisible reference arguments passed in...
author
Jeff Law
<law@gcc.gnu.org>
Wed, 22 Feb 1995 05:54:11 +0000
(22:54 -0700)
committer
Jeff Law
<law@gcc.gnu.org>
Wed, 22 Feb 1995 05:54:11 +0000
(22:54 -0700)
* pa.h (ASM_DECLARE_FUNCTION_NAME): Handle invisible reference
arguments passed in registers.
From-SVN: r9026
gcc/config/pa/pa.h
patch
|
blob
|
history
diff --git
a/gcc/config/pa/pa.h
b/gcc/config/pa/pa.h
index e69a63a0ffcd5bb700ca2547108eb4855092b2dd..3b5f1324df0a62d3e3a767d5ce6650b1031dcd66 100644
(file)
--- a/
gcc/config/pa/pa.h
+++ b/
gcc/config/pa/pa.h
@@
-1039,6
+1039,10
@@
extern enum cmp_type hppa_branch_type;
int arg_size = \
FUNCTION_ARG_SIZE (TYPE_MODE (DECL_ARG_TYPE (parm)),\
DECL_ARG_TYPE (parm)); \
+ /* Passing structs by invisible reference uses \
+ one general register. */ \
+ if (arg_size > 2) \
+ arg_size = 1; \
if (arg_size == 2 && i <= 2) \
{ \
if (i == 1) i++; \