aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/gcc/function.c b/gcc/function.c
index a42b806..b59707a 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -4591,13 +4591,9 @@ assign_parms (tree fndecl)
locate_and_pad_parm (promoted_mode, passed_type, in_regs,
entry_parm ? partial : 0, fndecl,
&stack_args_size, &locate);
- /* Adjust offsets to include pretend args, unless this is the
- split arg. */
- if (pretend_bytes == 0)
- {
- locate.slot_offset.constant += extra_pretend_bytes;
- locate.offset.constant += extra_pretend_bytes;
- }
+ /* Adjust offsets to include the pretend args. */
+ locate.slot_offset.constant += extra_pretend_bytes - pretend_bytes;
+ locate.offset.constant += extra_pretend_bytes - pretend_bytes;
{
rtx offset_rtx;