Landing: ed4b096464cd
Project / Subsystem
gcc / openmp/fortran
Date
2026-09-08
Author
Tobias Burnus
Commit
ed4b096464cd751c3a8af378a0f9724b55532621
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- openmp/fortran
- patch_id
- —
- commit_hash
- ed4b096464cd751c3a8af378a0f9724b55532621
- source_type
- github
- headline
- OpenMP/Fortran: Support underscore variant of directive names
- tldr
- Fortran OpenMP directive names with underscores are now supported in `assume` clauses and as modifiers in `if` clauses.
- author
- Tobias Burnus
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • OpenMP
- • Fortran
- • compiler-frontend
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-08T00:00:00.000Z
This patch enhances the Fortran front-end to support underscore variants of multi-word OpenMP directive names, aligning with recent OpenMP specification updates. These underscored directive names, such as declare_mapper and target_data, are now recognized within the absent and contains clauses of assume statements. Additionally, directive name modifiers like target_... can now be correctly handled within the if clause. A new test case verifies this functionality.