Landing: 665394525f55
Project / Subsystem
gcc / gcc/fortran
Date
2026-06-07
Author
Kwok Cheung Yeung
Commit
665394525f551fa36c43b2b1c110bab368c27376
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc/fortran
- patch_id
- —
- commit_hash
- 665394525f551fa36c43b2b1c110bab368c27376
- source_type
- github
- headline
- OpenMP: Fortran target constructs gain map iterator support
- tldr
- GCC now supports iterators in 'map' clauses of OpenMP 'target' constructs in Fortran, enabling more flexible data mapping for offloading.
- author
- Kwok Cheung Yeung
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • openmp
- • fortran
- • offloading
- • iterators
- • data-mapping
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-06-07T00:00:00.000Z
This GCC update enhances the Fortran front-end to support iterators within ‘map’ clauses of OpenMP ‘target’ constructs. This allows Fortran programmers to use iterative patterns when defining which data should be moved to and from accelerator devices for parallel computation. The change also includes special handling in libgomp for mapping arrays of derived types, ensuring correct behavior for complex data structures.