projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5881bac
)
(FUNCTION_ARG_BOUNDARY): Fix return value for 64bit
author
Richard Stallman
<rms@gnu.org>
Sat, 13 Nov 1993 00:21:17 +0000
(
00:21
+0000)
committer
Richard Stallman
<rms@gnu.org>
Sat, 13 Nov 1993 00:21:17 +0000
(
00:21
+0000)
pass by value structures.
From-SVN: r6077
gcc/config/pa/pa.h
patch
|
blob
|
history
diff --git
a/gcc/config/pa/pa.h
b/gcc/config/pa/pa.h
index f683db389209d4f5436613a6566742c837d9a39d..89aee13762932c4bba5cec96a290f8b53f672651 100644
(file)
--- a/
gcc/config/pa/pa.h
+++ b/
gcc/config/pa/pa.h
@@
-830,9
+830,7
@@
enum reg_class { NO_REGS, R1_REGS, GENERAL_REGS, FP_REGS, GENERAL_OR_FP_REGS,
#define FUNCTION_ARG_BOUNDARY(MODE, TYPE) \
(((TYPE) != 0) \
- ? ((TYPE_ALIGN(TYPE) <= PARM_BOUNDARY) \
- ? PARM_BOUNDARY \
- : TYPE_ALIGN(TYPE)) \
+ ? (((int_size_in_bytes (TYPE)) + 3) / 4) * BITS_PER_WORD \
: ((GET_MODE_ALIGNMENT(MODE) <= PARM_BOUNDARY) \
? PARM_BOUNDARY \
: GET_MODE_ALIGNMENT(MODE)))