This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/56350] [4.7 Regression] ICE in vectorizable_reduction, at tree-vect-loop.c:4731
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 19 Feb 2013 17:30:35 +0000
- Subject: [Bug tree-optimization/56350] [4.7 Regression] ICE in vectorizable_reduction, at tree-vect-loop.c:4731
- Auto-submitted: auto-generated
- References: <bug-56350-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56350
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-02-19 17:30:35 UTC ---
Author: jakub
Date: Tue Feb 19 17:30:27 2013
New Revision: 196150
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196150
Log:
Backported from mainline
2013-02-19 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/56350
* tree-vect-loop.c (vectorizable_reduction): If orig_stmt, return false
if haven't found reduction or nested cycle operand, rather than
asserting we must find it.
* gcc.dg/pr56350.c: New test.
Added:
branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/pr56350.c
Modified:
branches/gcc-4_7-branch/gcc/ChangeLog
branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
branches/gcc-4_7-branch/gcc/tree-vect-loop.c