This is the mail archive of the
mailing list for the GCC project.
Re: Overly-critical sanity check in ix86_compute_frame_size
- To: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>
- Subject: Re: Overly-critical sanity check in ix86_compute_frame_size
- From: Richard Henderson <rth at redhat dot com>
- Date: Thu, 1 Feb 2001 09:48:13 -0800
- Cc: gcc-patches at gcc dot gnu dot org
- References: <10102011226.AA06389@vlsi1.ultra.nyu.edu>
On Thu, Feb 01, 2001 at 07:25:33AM -0500, Richard Kenner wrote:
> It is perfectly possible for SIZE to be zero but have a requested
> stack alignment that's not default. This can happen, for example, when
> a zero-size item with alignment of 128 bits is allocated.
It would make a lot more sense to trap this case in
assign_stack_local instead. You're just wasting stack
space on unnecessary alignment otherwise.