Landing: 681fb2543a44
Project / Subsystem
gcc / gccrs
Date
2026-09-03
Author
Pierre-Emmanuel Patry
Commit
681fb2543a44c895c989d6a68d5ac6d01ae49bc9
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gccrs
- patch_id
- —
- commit_hash
- 681fb2543a44c895c989d6a68d5ac6d01ae49bc9
- source_type
- github
- headline
- gccrs: Simplify backward iteration in early name resolver
- tldr
- gccrs uses a reverse iterator instead of indexing for simpler backward iteration.
- author
- Pierre-Emmanuel Patry
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • gccrs
- • refactor
- • rust
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-03T00:00:00.000Z
The code in rust-early-name-resolver-2.0.cc that iterates backward over ‘self’ segments has been simplified. This commit replaces the use of indexing with a reverse iterator in the Early::finalize_rebind_import function, making the code cleaner and easier to maintain.