On Thu, Apr 23, 2020 at 08:52:39AM +0200, Tobias Burnus wrote: > [Fortran] OpenMP - permit lastprivate in distribute + SIMD fixes (PR94690) > > PR fortran/94690 > * openmp.c (OMP_DISTRIBUTE_CLAUSES): Add OMP_CLAUSE_LASTPRIVATE. > * trans-openmp.c (gfc_trans_omp_do): Don't add private/lastprivate > for dovar_found == 0, unless !simple. > * openmp.c (gfc_resolve_do_iterator): Skip the private handling > for SIMD as that is handled by ME code.
Ok, thanks. But can you please put the two openmp.c changes together under the same * openmp.c (OMP_DISTRIBUTE_CLAUSES): ... (gfc_resolve_do_iterator): ... ? > > PR fortran/94690 > * libgomp.fortran/pr66199-3.f90: New. > * libgomp.fortran/pr66199-4.f90: New. > * libgomp.fortran/pr66199-5.f90: New. > * libgomp.fortran/pr66199-6.f90: New. > * libgomp.fortran/pr66199-7.f90: New. > * libgomp.fortran/pr66199-8.f90: New. > * libgomp.fortran/pr66199-9.f90: New. Jakub