Landing: 3377399b85df

Project / Subsystem

gcc / fortran/openmp

Date

2026-06-12

Author

Julian Brown

Commit

3377399b85df6a0f060df93c94a365273ebdf2fd

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
fortran/openmp
patch_id
commit_hash
3377399b85df6a0f060df93c94a365273ebdf2fd
source_type
github
headline
Fortran/OpenMP adds module support for declare mapper
tldr
The Fortran OpenMP implementation now fully supports `declare mapper` directives, allowing their definitions to be shared and resolved via modules.
author
Julian Brown
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • fortran
  • openmp
  • modules
discussion_id_link
bugzilla_pr
date
2026-06-12T00:00:00.000Z

The Fortran OpenMP implementation in GCC now fully supports the declare mapper directive, addressing previous limitations and removing “sorry, unimplemented” messages. Mapper resolution has moved from the parsing stage to a later resolution stage, and definitions can now be stored and loaded from Fortran modules. This change allows users to define custom data mappings for OpenMP in one module and use them across different compilation units, greatly improving the modularity and usability of OpenMP’s advanced mapping features.