re PR tree-optimization/46213 (gfortran.dg/aliasing_array_result_1.f90 ICE: in vector...
authorIra Rosen <irar@il.ibm.com>
Thu, 4 Nov 2010 11:51:09 +0000 (11:51 +0000)
committerIra Rosen <irar@gcc.gnu.org>
Thu, 4 Nov 2010 11:51:09 +0000 (11:51 +0000)
commit0532869d0595b5ae8a45a6ca9eceab25fa8b2958
treee375ba076793adb2ad4aee99238ae93f7d3f40bf
parente4d8d4ea194dd8a360a3e21474296807984fc833
re PR tree-optimization/46213 (gfortran.dg/aliasing_array_result_1.f90 ICE: in vectorizable_reduction, at tree-vect-loop.c:4046 with custom compiler flags)

        PR tree-optimization/46213
        * tree-vect-loop.c (vect_is_simple_reduction_1): Handle
        MINUS_EXPR only if the first operand is reduction operand.

From-SVN: r166306
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/vect/pr46213.f90 [new file with mode: 0644]
gcc/tree-vect-loop.c