From: Graham Stott Date: Thu, 26 Jul 2001 05:45:25 +0000 (+0000) Subject: function.c (locate_and_pad_parm): Also pad initial offset so that the total argument... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2e824adbe44a946c91c1ff94815963fd2bec93be;p=gcc.git 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 --- diff --git a/gcc/function.c b/gcc/function.c index c91da12a80b..98894bad12f 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -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)