Landing: 2fad7b2d4d4a
Project / Subsystem
gcc / fortran
Date
2026-07-07
Author
Harald Anlauf
Commit
2fad7b2d4d4ae51bb65a23d45e883e07beae624c
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- fortran
- patch_id
- —
- commit_hash
- 2fad7b2d4d4ae51bb65a23d45e883e07beae624c
- source_type
- github
- headline
- Fortran: Fix user-defined operator resolution in named BLOCKs (PR126127)
- tldr
- Correctly resolves user-defined operators within named `BLOCK` constructs in Fortran.
- author
- Harald Anlauf
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • fortran
- • compiler
- • operator
- • block construct
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-07T00:00:00.000Z
This commit resolves an issue where user-defined operators were not being correctly resolved within named BLOCK constructs in Fortran code. The fix in interface.cc ensures that the compiler correctly searches user-defined operator lists when a symbol refers to a function within these constructs. A new test case verifies the correction.