This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [bootstrap failure on 3.2 branch] Re: PATCH to avoid copyingtail padding
- From: Jason Merrill <jason at redhat dot com>
- To: Matthias Klose <doko at cs dot tu-berlin dot de>,Bernd Schmidt <bernds at redhat dot com>
- Cc: gcc at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, nathan at codesourcery dot com
- Date: Tue, 10 Sep 2002 13:38:32 +0100
- Subject: Re: [bootstrap failure on 3.2 branch] Re: PATCH to avoid copyingtail padding
- References: <15741.36610.706153.320044@gargle.gargle.HOWL>
Does this (untested) patch happen to fix the problem?
*** calls.c.~1~ Fri Aug 30 20:34:24 2002
--- calls.c Tue Sep 10 13:37:50 2002
*************** store_one_arg (arg, argblock, flags, var
*** 4512,4518 ****
emit_push_insn for BLKmode is careful to avoid it. */
excess = (arg->size.constant - int_size_in_bytes (TREE_TYPE (pval))
+ partial * UNITS_PER_WORD);
! size_rtx = expr_size (pval);
}
if ((flags & ECF_SIBCALL) && GET_CODE (arg->value) == MEM)
--- 4512,4519 ----
emit_push_insn for BLKmode is careful to avoid it. */
excess = (arg->size.constant - int_size_in_bytes (TREE_TYPE (pval))
+ partial * UNITS_PER_WORD);
! size_rtx = expand_expr (size_in_bytes (TREE_TYPE (pval)),
! NULL_RTX, TYPE_MODE (sizetype), 0);
}
if ((flags & ECF_SIBCALL) && GET_CODE (arg->value) == MEM)