Landing: 9913a517dbd3

Project / Subsystem

gcc / fortran

Date

2026-08-18

Author

Paul Thomas

Commit

9913a517dbd3fa3865332839ab872799037231d9

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
fortran
patch_id
—
commit_hash
9913a517dbd3fa3865332839ab872799037231d9
source_type
github
headline
Fortran: Fix wrongly initialized associate-name descriptor [PR121384]
tldr
Fixes an issue in Fortran's resolve_assoc_var where expressions in parentheses were incorrectly handled.
author
Paul Thomas
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • fortran
  • • compiler bug
  • • frontend
discussion_id_link
—
bugzilla_pr
—
date
2026-08-18T00:00:00.000Z

This commit corrects an error in the Fortran compiler’s resolve_assoc_var function that incorrectly handled expressions enclosed in parentheses when initializing an associate-name descriptor. The problematic code was removed, allowing the trans-stmt function to correctly process these parenthesized expressions, resolving a bug that caused incorrect program behavior.