Overly-critical sanity check in ix86_compute_frame_size

Richard Henderson rth@redhat.com
Thu Feb 1 09:48:00 GMT 2001


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.


r~


More information about the Gcc-patches mailing list