From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13943 invoked by alias); 1 Aug 2007 11:57:29 -0000 Received: (qmail 13910 invoked by uid 48); 1 Aug 2007 11:57:19 -0000 Date: Wed, 01 Aug 2007 11:57:00 -0000 Message-ID: <20070801115719.13909.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/32893] zlib segfault in inflate_table() compiled w/ -O -msse2 ftree-vectorize In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dorit at gcc dot gnu dot org" 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: 2007-08/txt/msg00018.txt.bz2 ------- Comment #5 from dorit at gcc dot gnu dot org 2007-08-01 11:57 ------- Ryan, I wonder what happens if you force alignment in the source code, like so: unsigned short count[MAXBITS+1] __attribute__ ((__aligned__(16))) ; In this case the vectorizer does not change the alignment of the array. I wonder if the compiler honors the alignment attribute when the user asks for it, rather than the vectorizer. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32893