Landing: 218575554420
Project / Subsystem
gcc / gcc/tree-optimization
Date
2026-08-11
Author
Aldy Hernandez
Commit
218575554420ded75052e56d5a89cd23522f20a7
Source
github
Perf win
Yes
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc/tree-optimization
- patch_id
- —
- commit_hash
- 218575554420ded75052e56d5a89cd23522f20a7
- source_type
- github
- headline
- Thread backward paths ending in computed gotos.
- tldr
- Backward threader now supports computed gotos, improving optimization analysis.
- author
- Aldy Hernandez
- outcome
- committed
- performance_win
- true
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • optimization
- • control-flow
- • compiler-internals
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-11T00:00:00.000Z
The GCC backward threader can now analyze control flow paths that terminate in computed gotos. Previously, it only handled conditional or switch statements, but recent improvements in points-to information from the prange analysis make handling GIMPLE_GOTO straightforward. This enhances the accuracy of optimization passes that rely on control flow analysis.