Landing: 5d4b953d53ee
Project / Subsystem
gcc / openmp/fortran
Date
2026-06-12
Author
Tobias Burnus
Commit
5d4b953d53ee9ff6376f67e572d6308bbd977f75
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- openmp/fortran
- patch_id
- —
- commit_hash
- 5d4b953d53ee9ff6376f67e572d6308bbd977f75
- source_type
- github
- headline
- OpenMP/Fortran fixes module-use renaming with declare mapper/reduction
- tldr
- The Fortran OpenMP implementation now correctly handles derived-type renaming when using `declare mapper` or `declare reduction` through module use.
- author
- Tobias Burnus
- 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-12T00:00:00.000Z
The GCC Fortran front end for OpenMP has been updated to correctly account for renaming of derived types when they are used with declare mapper or declare reduction clauses through module imports. Previously, an inconsistency in type comparison logic could lead to errors. The fix aligns the comparison of types with the existing gfc_compare_derived_types function, addressing a nuance where only derived types are permitted in declare statements, but class variables can be used with mappers and reductions.