https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95109
--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Tobias Burnus <bur...@gcc.gnu.org>: https://gcc.gnu.org/g:f93eba8c5fde83100bf0854607848b6f50c8bbb2 commit r10-8721-gf93eba8c5fde83100bf0854607848b6f50c8bbb2 Author: Tobias Burnus <tob...@codesourcery.com> Date: Wed Sep 9 11:54:43 2020 +0200 Fortran: Fixes for OpenMP loop-iter privatization (PRs 95109 + 94690) This commit also fixes a gfortran.dg/gomp/target1.f90 regression; target1.f90 tests the resolve.c and openmp.c changes. gcc/fortran/ChangeLog: PR fortran/95109 PR fortran/94690 * resolve.c (gfc_resolve_code): Also call gfc_resolve_omp_parallel_blocks for 'distribute parallel do (simd)'. * openmp.c (gfc_resolve_omp_parallel_blocks): Handle it. * trans-openmp.c (gfc_trans_omp_target): For TARGET_PARALLEL_DO_SIMD, call simd not do processing function. gcc/testsuite/ChangeLog: PR fortran/95109 PR fortran/94690 * gfortran.dg/gomp/openmp-simd-5.f90: New test. (cherry picked from commit 61c2d476a52bb108bd05d0226c5522bf0c4b24b5)