omp-low.c (lower_rec_input_clauses): Don't force simd arrays for lastprivate non...
authorJakub Jelinek <jakub@redhat.com>
Sat, 20 Jul 2019 06:38:59 +0000 (08:38 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 20 Jul 2019 06:38:59 +0000 (08:38 +0200)
commitb6339213ff68ac5a87b7fdda878f26b52d801b76
tree91fbdb4b379a4e01d78add2ffea75605037d95be
parent05584e7c94f71ae287e2b9f148c0a1c93aff6b55
omp-low.c (lower_rec_input_clauses): Don't force simd arrays for lastprivate non-addressable iterator of a...

* omp-low.c (lower_rec_input_clauses): Don't force simd arrays for
lastprivate non-addressable iterator of a collapse(1) simd.

* gcc.dg/vect/vect-simd-16.c: New test.

From-SVN: r273620
gcc/ChangeLog
gcc/omp-low.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/vect-simd-16.c [new file with mode: 0644]