(locate_and_pad_parm): In ARGS_GROW_DOWNWARD case,
authorTorbjorn Granlund <tege@gnu.org>
Mon, 26 Oct 1992 19:38:54 +0000 (19:38 +0000)
committerTorbjorn Granlund <tege@gnu.org>
Mon, 26 Oct 1992 19:38:54 +0000 (19:38 +0000)
don't pad to argument alignment if where_pad is downward.

From-SVN: r2614

gcc/function.c

index 9f02b0dba90a09d2739aad4b955d8125ba8e624d..a138ee332b94273decf0ac18f6f6da0d964e7909 100644 (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,