Landing: 3a92ef9f6e91

Project / Subsystem

gcc / fortran

Date

2026-07-13

Author

Jerry DeLisle

Commit

3a92ef9f6e91b5493838feee44ba1f01065b119a

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
fortran
patch_id
commit_hash
3a92ef9f6e91b5493838feee44ba1f01065b119a
source_type
github
headline
fortran: Fix regression in SPEC benchmarks
tldr
Corrects a Fortran compiler regression that caused a SPEC benchmark test to fail.
author
Jerry DeLisle
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • fortran
  • regression
  • test
discussion_id_link
bugzilla_pr
date
2026-07-13T00:00:00.000Z

A recent fix for PR126170 in the Fortran compiler inadvertently introduced a regression that failed a SPEC benchmark test (PR126234). The issue stemmed from the use of gfc_find_symbol, which had a side effect of triggering an error during symbol ambiguity checks within ambiguous_symbol after calling gfc_find_sym_tree. The fix replaces the direct call to gfc_find_symbol with a manual walk of the symbol tree, resolving the regression.