https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77516
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Tue May 30 07:20:41 2017 New Revision: 248604 URL: https://gcc.gnu.org/viewcvs?rev=248604&root=gcc&view=rev Log: Backported from mainline 2016-09-08 Jakub Jelinek <ja...@redhat.com> 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. Added: branches/gcc-5-branch/gcc/testsuite/gfortran.dg/gomp/pr77516.f90 Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/omp-low.c branches/gcc-5-branch/gcc/testsuite/ChangeLog