Landing: ea52b53ad8fe

Project / Subsystem

gcc / fortran

Date

2026-09-29

Author

Jerry DeLisle

Commit

ea52b53ad8fe0025f973a70e32d32a6e9d342ca6

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
fortran
patch_id
—
commit_hash
ea52b53ad8fe0025f973a70e32d32a6e9d342ca6
source_type
github
headline
fortran: [PR127187] Type parameter inquiry selector is not a variable
tldr
Fixes incorrect handling of type parameter inquiries in Fortran associate names.
author
Jerry DeLisle
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • fortran
  • • bugfix
discussion_id_link
—
bugzilla_pr
—
date
2026-09-29T00:00:00.000Z

This commit addresses a bug in the Fortran compiler where type parameter inquiries, such as s%len or s%kind, were mistakenly treated as variables. This caused associate names to incorrectly point to the string length of s, leading to failures in certain test cases like associate_90.f90. The fix ensures these inquiries are correctly identified and not treated as variables, resolving the issue.