Landing: 8b34a015640d
Project / Subsystem
gcc / backthreader
Date
2026-09-07
Author
Aldy Hernandez
Commit
8b34a015640d9ffbd4a32525c5fcc3617a238688
Source
github
Perf win
Yes
Breaking
No
All attributes
- project
- gcc
- subsystem
- backthreader
- patch_id
- —
- commit_hash
- 8b34a015640d9ffbd4a32525c5fcc3617a238688
- source_type
- github
- headline
- Backthreader reuses path analysis objects for efficiency.
- tldr
- Compiler pass reuses analysis objects to significantly speed up code analysis.
- author
- Aldy Hernandez
- outcome
- committed
- performance_win
- true
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • optimization
- • backthreader
- • gcc
- • performance
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-07T00:00:00.000Z
The backthreader pass has been optimized by reusing a single path_range_query object across multiple candidate paths. This eliminates redundant allocations and setup for path analysis, leading to a substantial performance improvement in the thread_blocks function and overall compilation time.