Landing: 3c6361d3900f
Project / Subsystem
gcc / fortran
Date
2026-05-07
Author
Mikael Morin
Commit
3c6361d3900f37963dd7d063d95ff171f3ccb3dc
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- fortran
- patch_id
- —
- commit_hash
- 3c6361d3900f37963dd7d063d95ff171f3ccb3dc
- source_type
- github
- headline
- Fortran: Pass only the block for bounds check generation.
- tldr
- Refactors the array bounds check generation to pass only the code block, simplifying the function signature.
- author
- Mikael Morin
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • fortran
- • bounds checking
- • refactor
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-05-07T00:00:00.000Z
This commit simplifies the array bounds check generation in the Fortran compiler by modifying functions to only accept the code block as an argument, instead of the full scalarized expression. Since only the PRE block field of the scalarized expression was being used, this change cleans up the code base by directly passing the block.