Landing: 8131652f7656

Project / Subsystem

gcc / gcc

Date

2026-07-19

Author

Sandra Loosemore

Commit

8131652f76565f8f15c10f6896af546f84540453

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc
patch_id
commit_hash
8131652f76565f8f15c10f6896af546f84540453
source_type
github
headline
Fortran and OpenMP iterator code consolidated.
tldr
Fortran and OpenMP compiler code for managing iterator groups is now consolidated into new functions, improving maintainability.
author
Sandra Loosemore
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • fortran
  • OpenMP
  • refactor
discussion_id_link
bugzilla_pr
date
2026-07-19T00:00:00.000Z

This patch refactors the Fortran frontend’s OpenMP clause handling by consolidating repetitive code. New functions, start_iterator_group and finish_iterator_group, have been introduced to manage the start and finish logic for iterator groups, extracted from gfc_trans_omp_clauses. The parameter iter_block in handle_iterator was renamed to outer_block for clarity. No functional changes were introduced.