Re: stack allocation and gcc

Ihar 'Philips' Filipau
2004-03-10T14:07:10Z

Duncan Sands wrote:
> It sounds like "stack alignment", which makes sure that
> every stack frame is aligned on a multiple of (for example)
> 32 bytes. Check out -falign-functions.
>

-falign-function=1 -> No difference.

And as 'info gcc' states it affects alignment of function entry points.

'-mpreffered-stack-boundary=2' sort'a kind'a helped - I have reduced
stack size of 108 bytes to 106 :-)