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

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 19 09:15:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56350

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-02-19 09:14:41 UTC ---
Author: jakub
Date: Tue Feb 19 09:14:33 2013
New Revision: 196134

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196134
Log:
    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:
    trunk/gcc/testsuite/gcc.dg/pr56350.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vect-loop.c



More information about the Gcc-bugs mailing list