[Bug target/36502] i386/darwin generates unnecessary stack ops in every function

hjl dot tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Sep 1 01:09:00 GMT 2010



------- 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



More information about the Gcc-bugs mailing list