[OpenMP] Fix 'omp exit data' for Fortran arrays (PR 94635)
authorTobias Burnus <tobias@codesourcery.com>
Fri, 17 Apr 2020 17:08:55 +0000 (19:08 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Fri, 17 Apr 2020 17:08:55 +0000 (19:08 +0200)
commitaf557050fd011a03d21dc26b31959033061a0443
treeab3da9c086828fce51a0e921179aa31a94e5ce62
parent875d6cb3b4919b58ae5e6313db715bc4dd3ddd6c
[OpenMP] Fix 'omp exit data' for Fortran arrays (PR 94635)

PR middle-end/94635
* gimplify.c (gimplify_scan_omp_clauses): Turn MAP_TO_PSET to
MAP_DELETE.

PR middle-end/94635
* testsuite/libgomp.fortran/target-enter-data-2.F90: New.
gcc/ChangeLog
gcc/gimplify.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.fortran/target-enter-data-2.F90 [new file with mode: 0644]