Landing: 996673496e9c
Project / Subsystem
gcc / gcc
Date
2026-05-20
Author
Thomas Koenig
Commit
996673496e9cbc05b6ec55f0ab1324c3ffe4a876
Source
github
Perf win
Yes
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc
- patch_id
- —
- commit_hash
- 996673496e9cbc05b6ec55f0ab1324c3ffe4a876
- source_type
- github
- headline
- Fixes Inlining of Matmul With -fno-automatic in Fortran
- tldr
- This commit fixes an issue where allocatable arrays used for front-end optimization caused problems when inlining matmul with the `-fno-automatic` flag.
- author
- Thomas Koenig
- outcome
- committed
- performance_win
- true
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • fortran
- • inlining
- • optimization
- • bugfix
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-05-20T00:00:00.000Z
A bug prevented inlining of matmul (matrix multiplication) in Fortran when using allocatable arrays together with the -fno-automatic flag. The fix ensures that symbols are explicitly marked as automatic, which resolves the issue. This affects users who rely on inlining for performance and who also use -fno-automatic to avoid stack allocation of local variables.