https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94635
--- Comment #6 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:a7c5803d4e56c6f6c84a9c5b08adffb0cfe1d79f commit r10-8156-ga7c5803d4e56c6f6c84a9c5b08adffb0cfe1d79f Author: Tobias Burnus <tob...@codesourcery.com> Date: Tue May 19 10:10:21 2020 +0200 [OpenMP] Fix 'omp exit data' for Fortran arrays (PR 94635) Backport from mainline 2020-05-15 Tobias Burnus <tob...@codesourcery.com> gcc/ PR middle-end/94635 * gimplify.c (gimplify_scan_omp_clauses): For MAP_TO_PSET with OMP_TARGET_EXIT_DATA, use 'release:' unless the associated item is 'delete:'. gcc/testsuite PR middle-end/94635 * gfortran.dg/gomp/target-exit-data.f90: New.