https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123282
--- Comment #1 from Christopher Albert <albert at tugraz dot at> --- Created attachment 63145 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=63145&action=edit Fix stale struct mapping in repeated enter/exit data cycles Preserve GOMP_MAP_STRUCT in OpenACC exit data. Commit 1afc4672561a (2020) stripped it assuming no-op, but this leaves stale struct state causing illegal memory access on reallocation cycles.
