This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Alignment of Stack
- To: Frank Klemm <pfk at fuchs dot offl dot uni-jena dot de>
- Subject: Re: Alignment of Stack
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 26 Sep 2001 20:21:58 -0300
- Cc: gcc at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <20010914005109.A4452@fuchs.offl.uni-jena.de>
On Sep 13, 2001, Frank Klemm <pfk@fuchs.offl.uni-jena.de> wrote:
> Stack alignment of gcc 3.02 is really a nasty thing.
IIRC, it's fixed in mainline, so that Only main() forces the stack
alignment; other functions just assume it's aligned properly. main()
is a special function, don't assume what happens in it applies to all
other functions.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me