[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
Tue Jul 10 07:28:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86421
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Jul 10 07:27:37 2018
New Revision: 262535
URL: https://gcc.gnu.org/viewcvs?rev=262535&root=gcc&view=rev
Log:
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:
trunk/gcc/testsuite/gfortran.dg/vect/pr86421.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/module.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list