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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sat Mar  3 13:33:26 2018
New Revision: 258193

URL: https://gcc.gnu.org/viewcvs?rev=258193&root=gcc&view=rev
Log:
        Backported from mainline
        2018-02-16  Jakub Jelinek  <ja...@redhat.com>

        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:
    branches/gcc-7-branch/libgomp/testsuite/libgomp.fortran/pr84418-1.f90
    branches/gcc-7-branch/libgomp/testsuite/libgomp.fortran/pr84418-2.f90
Modified:
    branches/gcc-7-branch/gcc/fortran/ChangeLog
    branches/gcc-7-branch/gcc/fortran/trans-openmp.c
    branches/gcc-7-branch/libgomp/ChangeLog

Reply via email to