re PR tree-optimization/70729 (Loop marked with omp simd pragma is not vectorized)
authorYuri Rumyantsev <ysrumyan@gmail.com>
Wed, 29 Jun 2016 10:16:43 +0000 (10:16 +0000)
committerIlya Enkovich <ienkovich@gcc.gnu.org>
Wed, 29 Jun 2016 10:16:43 +0000 (10:16 +0000)
commitfafe9318b735a4b3276b39a73c42aef7a69249d1
tree539485ffd799c2f0f5e94bdb32f89232d1dc070d
parent54d19c3b7fb38097973a57b6e822e15cbcbd031d
re PR tree-optimization/70729 (Loop marked with omp simd pragma is not vectorized)

gcc/

2016-06-29  Yuri Rumyantsev  <ysrumyan@gmail.com>

PR tree-optimization/70729
* tree-ssa-loop-im.c (ref_indep_loop_p_1): Consider memory reference as
independent in loops having positive safelen value.
* tree-vect-loop.c (vect_transform_loop): Clear-up safelen value since
it may be not valid after vectorization.

gcc/testsuite/

2016-06-29  Yuri Rumyantsev  <ysrumyan@gmail.com>

PR tree-optimization/70729
* g++.dg/vect/pr70729.cc: New test.

From-SVN: r237844
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/vect/pr70729.cc [new file with mode: 0644]
gcc/tree-ssa-loop-im.c
gcc/tree-vect-loop.c