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  <ja...@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

Reply via email to