[Bug rtl-optimization/40838] gcc shouldn't assume that the stack is aligned

mikulas at artax dot karlin dot mff dot cuni dot cz gcc-bugzilla@gcc.gnu.org
Sun Sep 27 09:07:00 GMT 2009



------- Comment #55 from mikulas at artax dot karlin dot mff dot cuni dot cz  2009-09-27 09:07 -------
"If we assume incoming stack is 4byte aligned, we have to realign stack for
every function due to #2, which isn't acceptable."

No, you don't. All you have to do is to allocate the stack frame that is
multiple of 16 bytes (gcc does that already).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40838



More information about the Gcc-bugs mailing list