(locate_and_pad_parm): In ARGS_GROW_DOWNWARD case,

don't pad to argument alignment if where_pad is downward.

From-SVN: r2614
This commit is contained in:
Torbjorn Granlund 1992-10-26 19:38:54 +00:00
parent d089a2797e
commit 66bcbe1954
1 changed files with 2 additions and 1 deletions

View File

@ -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,