This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/36502] i386/darwin generates unnecessary stack ops in every function
- From: "hjl dot tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Sep 2010 01:08:59 -0000
- Subject: [Bug target/36502] i386/darwin generates unnecessary stack ops in every function
- References: <bug-36502-10175@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #28 from hjl dot tools at gmail dot com 2010-09-01 01:08 -------
(In reply to comment #27)
> I don't think MAIN_STACK_BOUNDARY needs to be set, nor will it help to set it.
> The alignment is set up by the crt runtime, and just to call to main, the
> alignment of the stack must be 128, before we issue the call.
>
If you don't set MAIN_STACK_BOUNDARY to 128, gcc may
align stack in main.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36502