From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9722 invoked by alias); 16 Oct 2009 02:11:17 -0000 Received: (qmail 8057 invoked by uid 48); 16 Oct 2009 02:11:01 -0000 Date: Fri, 16 Oct 2009 02:11:00 -0000 Message-ID: <20091016021101.8056.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-10/txt/msg01421.txt.bz2 ------- Comment #61 from mikulas at artax dot karlin dot mff dot cuni dot cz 2009-10-16 02:10 ------- > Why should gcc align the stack when SSE registers aren't used > at all? Because it passes pointer to the structure containing vector entries to someone else who expects it to be aligned. As for the updated patch --- why does it modify the autovectorizer? Anything that the autovectorizer does can be done manually without the autovectorizer. So, if there is a case where patching the autovectorizer is required to avoid a bug, there is definitely another case, where the bug still persists if the programmer vectorizes the code explicitly. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40838