Landing: 6bf6dad53476
Project / Subsystem
gcc / gcc/fortran
Date
2026-08-01
Author
Thomas Koenig
Commit
6bf6dad534766300376dec6d093d49b89a452ea1
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc/fortran
- patch_id
- —
- commit_hash
- 6bf6dad534766300376dec6d093d49b89a452ea1
- source_type
- github
- headline
- Fix undefined variable warning in ASSOCIATE constructs.
- tldr
- Associating variables in Fortran ASSOCIATE constructs now correctly warns about undefined variables.
- author
- Thomas Koenig
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • fortran
- • gfortran
- • warning
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-01T00:00:00.000Z
This patch addresses an undefined variable warning in Fortran’s ASSOCIATE constructs. It ensures that the value_used and value_set attributes are correctly updated for the associate names after code resolution. This change requires an extra argument to gfc_resolve to access the association list and includes a new test case to verify the fix.