From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29250 invoked by alias); 11 Oct 2012 12:23:10 -0000 Received: (qmail 29204 invoked by uid 48); 11 Oct 2012 12:22:49 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/54894] [4.6/4.7/4.8 Regression] internal compiler error: in vect_get_vec_def_for_operand, at tree-vect-stmts.c:1286 Date: Thu, 11 Oct 2012 12:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.6.4 X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2012-10/txt/msg01070.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54894 --- Comment #2 from Jakub Jelinek 2012-10-11 12:22:47 UTC --- You should be using __builtin_assume_aligned builtin, i.e. double *Ap = __builtin_assume_aligned (&A[ih+il][kh], 16); instead of the hacks with the overaligned scalar pointer, that doesn't improve vectorization, but actually prohibits it. That said, of course gcc shouldn't ICE on this.