This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/56350] [4.7 Regression] ICE in vectorizable_reduction, at tree-vect-loop.c:4731


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]