diff options
author | Torbjorn Granlund <tege@gnu.org> | 1992-10-26 19:38:54 +0000 |
---|---|---|
committer | Torbjorn Granlund <tege@gnu.org> | 1992-10-26 19:38:54 +0000 |
commit | 66bcbe195420cade8f0e00b1ae6e7fc4b15c750c (patch) | |
tree | 90fa5d8438ab9ea5d0cff552057344de296831ca /gcc | |
parent | d089a2797e2319cc62915dd42a619edb053d724c (diff) | |
download | gcc-66bcbe195420cade8f0e00b1ae6e7fc4b15c750c.zip gcc-66bcbe195420cade8f0e00b1ae6e7fc4b15c750c.tar.gz gcc-66bcbe195420cade8f0e00b1ae6e7fc4b15c750c.tar.bz2 |
(locate_and_pad_parm): In ARGS_GROW_DOWNWARD case,
don't pad to argument alignment if where_pad is downward.
From-SVN: r2614
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/function.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/function.c b/gcc/function.c index 9f02b0d..a138ee3 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -3309,7 +3309,8 @@ locate_and_pad_parm (passed_mode, type, in_regs, fndecl, || ((TREE_INT_CST_LOW (sizetree) * BITS_PER_UNIT) % PARM_BOUNDARY))) sizetree = round_up (sizetree, PARM_BOUNDARY / BITS_PER_UNIT); SUB_PARM_SIZE (*offset_ptr, sizetree); - pad_to_arg_alignment (offset_ptr, boundary); + if (where_pad != downward) + pad_to_arg_alignment (offset_ptr, boundary); if (initial_offset_ptr->var) { arg_size_ptr->var = size_binop (MINUS_EXPR, |