Landing: 70577c961780
Project / Subsystem
gcc / gcc/fortran
Date
2026-06-07
Author
Kwok Cheung Yeung
Commit
70577c961780f490bcb7f4bc0161d4ac42d6231f
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc/fortran
- patch_id
- —
- commit_hash
- 70577c961780f490bcb7f4bc0161d4ac42d6231f
- source_type
- github
- headline
- OpenMP: Refactors gfc_omp_namelist to avoid iterator and mapper clashes
- tldr
- GCC's Fortran OpenMP implementation refactors an internal data structure to prevent naming conflicts when using both mappers and iterators.
- author
- Kwok Cheung Yeung
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • openmp
- • fortran
- • compiler-internals
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-06-07T00:00:00.000Z
This commit refactors the internal gfc_omp_namelist structure within GCC’s Fortran front-end, specifically moving the udm field into a new union, u3. This adjustment resolves a potential data clash that could occur when OpenMP mappers and iterators were used simultaneously. The change ensures that these two features can coexist without internal conflicts, improving the robustness of OpenMP support in Fortran.