[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
Fri Sep 25 00:57:00 GMT 2009



------- Comment #46 from mikulas at artax dot karlin dot mff dot cuni dot cz  2009-09-25 00:56 -------
Created an attachment (id=18646)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18646&action=view)
A patch for gcc 4.4.1

I decided to make a patch on my own. Seamonkey works with it. It sometimes
aligns unnecessarily but it should never miss an alignment. (someone with more
knowledge about gcc than me could refine the patch to make fewer unneeded
alignments) I searching the generated seamonkey code for 'movaps.*esp' and it
shows that all the functions that store xmm on the stack use stack alignment.


-- 


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



More information about the Gcc-bugs mailing list