re PR fortran/77516 (ICE in is_gimple_min_invariant, at gimple-expr.c:706)
authorJakub Jelinek <jakub@redhat.com>
Thu, 8 Sep 2016 12:18:16 +0000 (14:18 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 8 Sep 2016 12:18:16 +0000 (14:18 +0200)
commit8ebc1e0f8ee2e46d3dfc27a4b9a339074378d883
tree43d06dd41e028e3cb91124c879236f80d2300e34
parente124cd64aef5883f19f28b2a221823dec27b9f6f
re PR fortran/77516 (ICE in is_gimple_min_invariant, at gimple-expr.c:706)

PR fortran/77516
* omp-low.c (lower_rec_simd_input_clauses): Use max_vf for non-positive
OMP_CLAUSE_SAFELEN_EXPR.

* gfortran.dg/gomp/pr77516.f90: New test.

From-SVN: r240037
gcc/ChangeLog
gcc/omp-low.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/gomp/pr77516.f90 [new file with mode: 0644]