Landing: 87fe1cad253d
Project / Subsystem
gcc / gccrs
Date
2026-08-22
Author
Owen Avery
Commit
87fe1cad253d14cfbeab30809d6d0eeb0becf902
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gccrs
- patch_id
- —
- commit_hash
- 87fe1cad253d14cfbeab30809d6d0eeb0becf902
- source_type
- github
- headline
- gccrs: Ensure function node links are unnamed
- tldr
- Modifies gccrs to prevent function nodes from being used as named links, enhancing name resolution accuracy.
- author
- Owen Avery
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • gccrs
- • rust
- • name resolution
- • compiler internals
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-22T00:00:00.000Z
This change prevents function nodes in gccrs from being treated as named links during name resolution. By ensuring that function names are not passed as path parameters in NameResolutionContext::scoped, the compiler avoids potential ambiguities and incorrect linking. A new test, mod_fn_conflict.rs, is added to confirm this behavior.