Landing: 4aac44d03000
Project / Subsystem
gcc / fortran
Date
2026-08-24
Author
Jerry DeLisle
Commit
4aac44d03000635ccfd3138b5bd1a701db2c7825
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- fortran
- patch_id
- —
- commit_hash
- 4aac44d03000635ccfd3138b5bd1a701db2c7825
- source_type
- github
- headline
- Fortran: Support scalar actual argument with VALUE array dummy
- tldr
- Enables sequence association for scalar actual arguments passed to VALUE array dummies.
- author
- Jerry DeLisle
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • fortran
- • compiler
- • bugfix
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-24T00:00:00.000Z
Gfortran now correctly handles sequence association when a scalar actual argument is passed to a Fortran dummy argument that is an explicit-shape array with the VALUE attribute. Previously, this scenario led to an ICE because the compiler’s handling for scalar VALUE dummies did not extend to array dummies. The fix involves creating temporary copies of array elements and managing character string lengths appropriately.