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: Matthias Klose <doko at cs dot tu-berlin dot de>
- To: Jason Merrill <jason at redhat dot com>
- Cc: Bernd Schmidt <bernds at redhat dot com>, 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 21:51:30 +0200
- Subject: Re: [bootstrap failure on 3.2 branch] Re: PATCH to avoid copyingtail padding
- References: <15741.36610.706153.320044@gargle.gargle.HOWL><wvld6rmyq7r.fsf@prospero.cambridge.redhat.com>
Jason Merrill writes:
> Does this (untested) patch happen to fix the problem?
yes. thanks! tested with rebuilding cc1plus and locale-inst.o
> *** 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)