Landing: 454e3ba345c2
Project / Subsystem
gcc / gcc
Date
2026-08-16
Author
Aldy Hernandez
Commit
454e3ba345c2263563562b489bdb81fcc8e71105
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc
- patch_id
- —
- commit_hash
- 454e3ba345c2263563562b489bdb81fcc8e71105
- source_type
- github
- headline
- Report failed block copies in backward threader
- tldr
- Failed block copies in GCC's backward threader are now reported, improving debugging of optimization path failures.
- author
- Aldy Hernandez
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • optimization
- • debugging
- • tree-ssa
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-16T00:00:00.000Z
This commit enhances error reporting within GCC’s backward threader, specifically for failed block copies. Previously, when back_jt_path_registry::duplicate_thread_path failed, the registered path was silently dropped without indication. Now, such failures are reported through cancel_thread with a failure_reason, aligning with how other thread termination reasons are handled. This change, motivated by PR tree-optimization/126906, aids in diagnosing why optimization paths might be discarded.