re PR tree-optimization/49199 (ICE: in vect_create_epilog_for_reduction at tree-vect...
authorIra Rosen <ira.rosen@linaro.org>
Mon, 30 May 2011 07:15:31 +0000 (07:15 +0000)
committerIra Rosen <irar@gcc.gnu.org>
Mon, 30 May 2011 07:15:31 +0000 (07:15 +0000)
commit69940d4d9e914bfda0650a0771e916754dceb573
tree28e5571afa7c453a1a2e964f4fceb1f0c029ab5e
parentefd02400d7fbe83178e55716735b4253d36b22fe
re PR tree-optimization/49199 (ICE: in vect_create_epilog_for_reduction at tree-vect-loop.c:3445 with -O -fno-tree-scev-cprop -ftree-vectorize -funswitch-loops)

        PR tree-optimization/49199
        * tree-vect-loop.c (vect_is_slp_reduction): Check that the
        non-reduction operands are either defined in the loop or
        by induction.

From-SVN: r174425
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/no-scevccp-pr49199.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/vect/vect.exp
gcc/tree-vect-loop.c