https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86421
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Thu Jul 26 16:28:18 2018 New Revision: 263013 URL: https://gcc.gnu.org/viewcvs?rev=263013&root=gcc&view=rev Log: Backported from mainline 2018-07-10 Jakub Jelinek <ja...@redhat.com> PR fortran/86421 * module.c (omp_declare_simd_clauses): Add LINEAR with _REF, _VAL and _UVAL suffixes. (mio_omp_declare_simd): Save and restore ref, val and uval modifiers on linear clauses. Initialize n->where to gfc_current_locus. * gfortran.dg/vect/pr86421.f90: New test. Added: branches/gcc-8-branch/gcc/testsuite/gfortran.dg/vect/pr86421.f90 Modified: branches/gcc-8-branch/gcc/fortran/ChangeLog branches/gcc-8-branch/gcc/fortran/module.c branches/gcc-8-branch/gcc/testsuite/ChangeLog