https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84418

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Feb 16 22:40:32 2018
New Revision: 257771

URL: https://gcc.gnu.org/viewcvs?rev=257771&root=gcc&view=rev
Log:
        PR fortran/84418
        * trans-openmp.c (gfc_trans_omp_clauses): For OMP_CLAUSE_LINEAR_REF
        kind set OMP_CLAUSE_LINEAR_STEP to TYPE_SIZE_UNIT times last_step.

        * libgomp.fortran/pr84418-1.f90: New test.
        * libgomp.fortran/pr84418-2.f90: New test.

Added:
    trunk/libgomp/testsuite/libgomp.fortran/pr84418-1.f90
    trunk/libgomp/testsuite/libgomp.fortran/pr84418-2.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-openmp.c
    trunk/libgomp/ChangeLog

Reply via email to