Landing: d6c3e489d368
Project / Subsystem
gcc / fortran
Date
2026-08-21
Author
Jerry DeLisle
Commit
d6c3e489d368dacfe7958e1dbfedf8cf738a03b3
Source
github
Perf win
Yes
Breaking
No
All attributes
- project
- gcc
- subsystem
- fortran
- patch_id
- —
- commit_hash
- d6c3e489d368dacfe7958e1dbfedf8cf738a03b3
- source_type
- github
- headline
- fortran: Optimize access to span-addressed dummy arguments.
- tldr
- Reduces overhead for dummy arguments in Fortran by folding spacing into strides, enabling loop vectorization.
- author
- Jerry DeLisle
- outcome
- committed
- performance_win
- true
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • fortran
- • optimization
- • vectorization
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-21T00:00:00.000Z
This change optimizes Fortran dummy arguments that are addressed via their descriptor’s span. Previously, this indirection prevented loop vectorization and incurred copy-in/copy-out overhead. The fix folds the element spacing into the strides, allowing direct addressing and enabling optimizations like vectorization. It also refines checks for subobject references.