Landing: f764d7111a29
Project / Subsystem
gcc / fortran
Date
2026-07-21
Author
Jerry DeLisle
Commit
f764d7111a29d8323e49a87a8321072295c73244
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- fortran
- patch_id
- —
- commit_hash
- f764d7111a29d8323e49a87a8321072295c73244
- source_type
- github
- headline
- Fortran: Avoid redundant call in array constructor and fix buffer overflow.
- tldr
- Fixes a Fortran compiler bug causing redundant function calls and a stack buffer overflow in array constructors.
- author
- Jerry DeLisle
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • fortran
- • compiler
- • bugfix
- • stack overflow
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-21T00:00:00.000Z
This commit addresses two issues in the Fortran front-end related to array constructors. It prevents a redundant function call when no_function_call is set, and fixes a stack buffer overflow in gfc_conv_array_parameter by correctly using the explicit character type-spec length instead of inferring it from the first element.