From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31234 invoked by alias); 20 Nov 2013 09:10:22 -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 31178 invoked by uid 55); 20 Nov 2013 09:10:17 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/59006] [4.9 Regression] internal compiler error: in vect_transform_stmt, at tree-vect-stmts.c:5963 Date: Wed, 20 Nov 2013 09:10: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: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.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: 2013-11/txt/msg01969.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59006 --- Comment #6 from rguenther at suse dot de --- On Wed, 20 Nov 2013, congh at google dot com wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59006 > > Cong Hou changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |congh at google dot com > > --- Comment #5 from Cong Hou --- > Hoisting all vectorized statements may not be the best solution (some loads may > not be necessary outside of the loop), but I think it works and can solve the > current issues. Richard, are you working on this? If you'd like I could also > make a patch with this idea. No, I was trying to fix it in another way but that didn't work out. Feel free to take the bug (and yes, applying the invariant motion after the vectorization transform, on the vectorized stmts). Thanks, Richard.