PR fortran/84418
commit51c6e646d40e5019e0a8df761fb1ac7e3459d4b3
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Feb 2018 22:40:32 +0000 (16 22:40 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Feb 2018 22:40:32 +0000 (16 22:40 +0000)
tree2928af1a64421d351d8d34be1829fa0f34927163
parent2c572f5f91e9750f6d14beb41c08bd80573d5a1f
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257771 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/trans-openmp.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.fortran/pr84418-1.f90 [new file with mode: 0644]
libgomp/testsuite/libgomp.fortran/pr84418-2.f90 [new file with mode: 0644]