From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1439 invoked by alias); 25 Sep 2009 00:57:07 -0000 Received: (qmail 1124 invoked by uid 48); 25 Sep 2009 00:56:53 -0000 Date: Fri, 25 Sep 2009 00:57:00 -0000 Message-ID: <20090925005653.1123.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug rtl-optimization/40838] gcc shouldn't assume that the stack is aligned In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "mikulas at artax dot karlin dot mff dot cuni dot cz" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-09/txt/msg02317.txt.bz2 ------- 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