From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30258 invoked by alias); 2 Aug 2011 09:21:57 -0000 Received: (qmail 30246 invoked by uid 22791); 2 Aug 2011 09:21:57 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 02 Aug 2011 09:21:43 +0000 From: "irar at il dot ibm.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/49006] [4.6/4.7 Regression] Missed vectorization due to revision 167531 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: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: irar at il dot ibm.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.6.2 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 Date: Tue, 02 Aug 2011 09:21:00 -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 X-SW-Source: 2011-08/txt/msg00138.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49006 --- Comment #9 from Ira Rosen 2011-08-02 09:21:26 UTC --- Basic block SLP only prints "basic block vectorized using SLP". But I thought we are talking about loop vectorization here, since the early unrolling is applied only if there is an outer loop as well (correct?), so it should be the same "LOOP VECTORIZED". And I see with on trunk: induct.f90:1757: note: LOOP VECTORIZED. induct.f90:2168: note: LOOP VECTORIZED. and 1757 is the outer loop of 1766, and 2168 is the outer loop of 2177. These loops are not vectorized with 4.6 though. Ira