https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92929
Thomas Schwinge <tschwinge at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |10.0 Ever confirmed|0 |1 Last reconfirmed| |2020-07-06 Status|UNCONFIRMED |NEW Depends on| |94635 --- Comment #8 from Thomas Schwinge <tschwinge at gcc dot gnu.org> --- In addition to r277631 "Fortran/OpenMP] Don't create "alloc:" for 'target exit data'", as shown in the PR94635 commit af557050fd011a03d21dc26b31959033061a0443 "[OpenMP] Fix 'omp exit data' for Fortran arrays (PR 94635)", and commit 9f0f7da9aa98eec28b4e5e34ade0aa0028df161d "[OpenMP] Fix 'omp exit data' for Fortran arrays (PR 94635)", this is not only an optimization but also a correctness issue. The OpenMP cases now presumably have been addressed, but OpenACC not yet? Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94635 [Bug 94635] [OpenMP][Offloading] mapping with alloc/delete followed by map(from/tofrom:) fails