Landing: 725f4e741e13
Project / Subsystem
gcc / gccrs
Date
2026-07-25
Author
Lishin
Commit
725f4e741e13be79bc1c6684346ec16f522d8a76
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gccrs
- patch_id
- —
- commit_hash
- 725f4e741e13be79bc1c6684346ec16f522d8a76
- source_type
- github
- headline
- gccrs: Fix BIR IndexVec construction
- tldr
- Corrected an out-of-bounds access in GCC's Rust BIR construction for IndexVec.
- author
- Lishin
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • gccrs
- • rust
- • bugfix
- • compiler internals
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-25T00:00:00.000Z
This commit fixes an out-of-bounds access bug in the IndexVec constructor within GCC’s Rust front-end. The constructor now correctly creates the specified number of elements, rather than just reserving space, which resolves a crash that occurred during BIR dumping.