Stack frame size increase
Jeffrey A Law
law@cygnus.com
Wed Mar 31 23:46:00 GMT 1999
In message < 19990324133713.36426@atrey.karlin.mff.cuni.cz >you write:
> Hi
> I've just updated the first june snapshot to the last snapshot 0314.
> (It don't contain the align-stack-double patch yet).
>
> My program slowed down, when looking for the purpose I found that stack
> frame size increased from 24 to 28 making the doubles missaligned.
> This is not the main problem. Interesting is, that rest of function
> was equivalent (except the label numbers) to the original.
> Why the extra stack slot was allocated?
>
> Is the increase bug or feature?
Debug the code. The point of the new code is to make sure that if we are
given an aligned frame that we keep it aligned.
As I mentioned, it is likely that we don't handle all cases yet, so this kind
of thing isn't totally unexpected.
jeff
More information about the Gcc
mailing list