https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97061
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Tobias Burnus <bur...@gcc.gnu.org>: https://gcc.gnu.org/g:91347c3bbf788ede4af89f46206991c47fa8aceb commit r11-3232-g91347c3bbf788ede4af89f46206991c47fa8aceb Author: Tobias Burnus <tob...@codesourcery.com> Date: Wed Sep 16 16:23:13 2020 +0200 Fortran: OpenMP - fix simd with (last)private (PR97061) gcc/fortran/ChangeLog: PR fortran/97061 * trans-openmp.c (gfc_trans_omp_do): Handle simd with (last)private. gcc/testsuite/ChangeLog: PR fortran/97061 * gfortran.dg/gomp/openmp-simd-6.f90: New test.