summaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1999-04-25 13:09:33 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1999-04-25 13:09:33 +0000
commit8967ddf744c964c4d112a6b24b82e57a5e53e920 (patch)
tree93ac5dbf34caa3d55d5f2cb29cfa2941b5aad09e /gcc/function.c
parente39fae61e31cc44ff99543de4ea02fe73f6108b2 (diff)
downloadgcc-8967ddf744c964c4d112a6b24b82e57a5e53e920.tar.gz
* function.c (assign_parms/STACK_BYTES): Revert last change,
and that of 19 Nov. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26624 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/function.c b/gcc/function.c
index 7590caf2d04..6644014837a 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -5059,6 +5059,14 @@ assign_parms (fndecl, second_time)
#endif
#endif
+#ifdef STACK_BOUNDARY
+#define STACK_BYTES (STACK_BOUNDARY / BITS_PER_UNIT)
+
+ current_function_args_size
+ = ((current_function_args_size + STACK_BYTES - 1)
+ / STACK_BYTES) * STACK_BYTES;
+#endif
+
#ifdef ARGS_GROW_DOWNWARD
current_function_arg_offset_rtx
= (stack_args_size.var == 0 ? GEN_INT (-stack_args_size.constant)