Landing: 04c3c1b5b239
Project / Subsystem
gcc / fortran
Date
2026-06-05
Author
Jerry DeLisle
Commit
04c3c1b5b2391e33c460d45d22cfa046121c0361
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- fortran
- patch_id
- —
- commit_hash
- 04c3c1b5b2391e33c460d45d22cfa046121c0361
- source_type
- github
- headline
- Refactor assumed-rank array resizing in Fortran
- tldr
- The Fortran front end now uses a new helper function for resizing assumed-rank array dimensions, improving code organization.
- author
- Jerry DeLisle
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • fortran
- • refactoring
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-06-05T00:00:00.000Z
This commit refactors the Fortran front end’s handling of assumed-rank array dimensions by introducing a new function, gfc_resize_assumed_rank_dim_field. This helper function extracts and centralizes the logic for resizing array dimensions, which was previously embedded within gfc_conv_array_parameter. This improves code readability and maintainability within the Fortran compiler.