Landing: 97c640c1136c

Project / Subsystem

gcc / gcc/fortran

Date

2026-06-07

Author

Kwok Cheung Yeung

Commit

97c640c1136c7af180c6063f4706cf7cbf23b1b4

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/fortran
patch_id
commit_hash
97c640c1136c7af180c6063f4706cf7cbf23b1b4
source_type
github
headline
OpenMP: Fortran target update constructs now support iterators
tldr
GCC's Fortran front-end now allows the use of iterators within the 'to' and 'from' clauses of OpenMP 'target update' directives, improving flexibility for offl…
author
Kwok Cheung Yeung
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • openmp
  • fortran
  • offloading
  • iterators
discussion_id_link
bugzilla_pr
date
2026-06-07T00:00:00.000Z

This update to the Fortran front-end in GCC introduces support for iterators in OpenMP ‘target update’ constructs. Previously, iterators were not permitted in the ‘to’ and ‘from’ clauses of these directives. This enhancement allows Fortran developers to use iterative constructs for specifying data transfer to and from target devices, providing more expressive and potentially more efficient data management in parallel regions.