From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 124131 invoked by alias); 5 Jul 2015 12:12:34 -0000 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 Received: (qmail 124082 invoked by uid 55); 5 Jul 2015 12:12:30 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/66718] Non-invariant ADDR_EXPR not vectorized Date: Sun, 05 Jul 2015 12:12: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-Version: 6.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-07/txt/msg00348.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66718 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Sun Jul 5 12:11:57 2015 New Revision: 225433 URL: https://gcc.gnu.org/viewcvs?rev=225433&root=gcc&view=rev Log: PR tree-optimization/66718 * tree-vect-stmts.c (vectorizable_assignment, vectorizable_store, vectorizable_load, vectorizable_condition): Move vectype, nunits, ncopies computation after checking what kind of statement stmt is. Modified: trunk/gcc/ChangeLog trunk/gcc/tree-vect-stmts.c