From 2e824adbe44a946c91c1ff94815963fd2bec93be Mon Sep 17 00:00:00 2001 From: Graham Stott Date: Thu, 26 Jul 2001 05:45:25 +0000 Subject: [PATCH] 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 --- gcc/function.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) -- 2.30.2