This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/84418] ICE with fortran OpenMP linear (ref ()) clause


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]