Landing: d020cdb0d419
Project / Subsystem
gcc / gccrs
Date
2026-07-03
Author
Owen Avery
Commit
d020cdb0d419806b24daf6376c7827809f23c24a
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gccrs
- patch_id
- —
- commit_hash
- d020cdb0d419806b24daf6376c7827809f23c24a
- source_type
- github
- headline
- gccrs: Fix IdentifierPathPass to handle sub-patterns
- tldr
- IdentifierPathPass now correctly processes sub-patterns in Rust code, fixing a bug and adding a new test.
- author
- Owen Avery
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • gccrs
- • bugfix
- • name resolution
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-03T00:00:00.000Z
The IdentifierPathPass in gccrs has been fixed to correctly handle sub-patterns within Rust code. Previously, it might have failed to traverse and process these sub-patterns when they were part of a larger pattern. This commit ensures that all sub-patterns are visited, resolving a bug and preventing potential incorrect code generation or analysis. A new test case has been added to verify this fix.