Landing: 7cd09938f548
Project / Subsystem
gcc / fortran
Date
2026-05-07
Author
Paul Thomas
Commit
7cd09938f5484b2c66ca381a15f1dc8b1ecb8d01
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- fortran
- patch_id
- —
- commit_hash
- 7cd09938f5484b2c66ca381a15f1dc8b1ecb8d01
- source_type
- github
- headline
- Fortran Fixes Complex Associate-Name with Inferred Kind
- tldr
- GCC now correctly handles complex associate-names with inferred kinds in Fortran, resolving a type mismatch error.
- author
- Paul Thomas
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • fortran
- • associate-name
- • type inference
- • bugfix
- • complex numbers
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-05-07T00:00:00.000Z
GCC’s Fortran compiler now correctly handles complex associate-names with inferred kinds. Previously, the kind type parameter was not correctly updated for INQUIRY_RE and INQUIRY_IM references within associate constructs, leading to type mismatches. This fix ensures the kind is properly updated, resolving errors when using complex associate-names with inferred types.