From: Torbjorn Granlund Date: Mon, 26 Oct 1992 19:38:54 +0000 (+0000) Subject: (locate_and_pad_parm): In ARGS_GROW_DOWNWARD case, X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=66bcbe195420cade8f0e00b1ae6e7fc4b15c750c;p=gcc.git (locate_and_pad_parm): In ARGS_GROW_DOWNWARD case, don't pad to argument alignment if where_pad is downward. From-SVN: r2614 --- diff --git a/gcc/function.c b/gcc/function.c index 9f02b0dba90..a138ee332b9 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,