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