This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Overly-critical sanity check in ix86_compute_frame_size


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~

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]