[Bug fortran/123252] OpenACC: derived-type scalar component has wrong value in device kernel when only array component is mapped

albert at tugraz dot at gcc-bugzilla@gcc.gnu.org
Tue Dec 23 19:05:59 GMT 2025


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123252

Christopher Albert <albert at tugraz dot at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #63143|0                           |1
        is obsolete|                            |

--- Comment #6 from Christopher Albert <albert at tugraz dot at> ---
Created attachment 63144
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=63144&action=edit
Map scalar fields on enter data for components

Added symmetric GOMP_MAP_DELETE for scalar fields on exit data, so mappings are
cleaned up properly and remapping after reallocation works.


More information about the Gcc-bugs mailing list