https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92929
--- Comment #2 from Thomas Schwinge <tschwinge at gcc dot gnu.org> --- (In reply to myself from comment #1) > if (OMP_CLAUSE_MAP_KIND (c) == GOMP_MAP_FIRSTPRIVATE_POINTER > || (OMP_CLAUSE_MAP_KIND (c) > == GOMP_MAP_FIRSTPRIVATE_REFERENCE)) > /* For target {,enter ,exit }data only the array slice is > mapped, but not the pointer to it. */ > remove = true; > Why is this not applicable for OpenACC '!$acc update'/OpenMP '!$omp target > update', too? (This is now also relevant for C/C++.) I see I asked the same question before, and in <http://mid.mail-archive.com/574F1C6C.5020704@codesourcery.com> Cesar answered: "I suppose they can be added here, but lower_omp_target already ignores GOMP_MAP_FIRSTPRIVATE_POINTER for non-offloaded and data_region regions."