[Bug fortran/86421] OpenMP declare simd linear ref in module causes gfortran to bail out
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Oct 12 14:49:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86421
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Oct 12 14:47:57 2018
New Revision: 265106
URL: https://gcc.gnu.org/viewcvs?rev=265106&root=gcc&view=rev
Log:
Backported from mainline
2018-07-10 Jakub Jelinek <jakub@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-7-branch/gcc/testsuite/gfortran.dg/vect/pr86421.f90
Modified:
branches/gcc-7-branch/gcc/fortran/ChangeLog
branches/gcc-7-branch/gcc/fortran/module.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list