function.c (locate_and_pad_parm): Also pad initial offset so that the total argument size also includes the padding.

* function.c (locate_and_pad_parm): Also pad initial offset
        so that the total argument size also includes the padding.

From-SVN: r44379
This commit is contained in:
Graham Stott 2001-07-26 05:45:25 +00:00
parent 66621f9e02
commit 2e824adbe4

View File

@ -5264,7 +5264,10 @@ locate_and_pad_parm (passed_mode, type, in_regs, fndecl,
/* However, BLKmode args passed in regs have their padding done elsewhere.
The stack slot must be able to hold the entire register. */
&& !(in_regs && passed_mode == BLKmode))
pad_below (offset_ptr, passed_mode, sizetree);
{
pad_below (offset_ptr, passed_mode, sizetree);
pad_below (initial_offset_ptr, passed_mode, sizetree);
}
if (where_pad != none
&& (!host_integerp (sizetree, 1)