This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]