ARM: Invalid Stack Alignment BUG
Wed Mar 15 10:46:00 GMT 2000
On Wed, Mar 15, 2000 at 09:42:48AM -0700, Jeffrey A Law wrote:
> > IMO this must be handled in a
> > machine independent manner, based on the information already supplied.
> Agreed, if we are losing space due to inconvenient rounding, then we should
> find a describe when rounding should occur so that we can write the code
> once in the generic parts of the compiler rather than over and over again
> in every backend.
"Over and over"? One line for an alignment?
The only way to do the rounding correctly not in the back end
is to do the entire frame layout not in the back end. Rounding
just the size of the local variable store is _always_ not the
right thing to do. Ideally you want to round the size of the
entire frame -- locals, save regs, outgoing args, varargs spill
More information about the Gcc-patches