Landing: 728104624f30
Project / Subsystem
gcc / gcc
Date
2026-09-25
Author
Andrew MacLeod
Commit
728104624f30f8eb9f537a3f91b7bb35e4e3a98c
Source
github
Perf win
Yes
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc
- patch_id
- —
- commit_hash
- 728104624f30f8eb9f537a3f91b7bb35e4e3a98c
- source_type
- github
- headline
- Correct inferred range application in GIMPLE.
- tldr
- Fixes incorrect range application logic in GIMPLE, improving optimization accuracy.
- author
- Andrew MacLeod
- outcome
- committed
- performance_win
- true
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • optimization
- • gimple
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-25T00:00:00.000Z
This commit corrects a logic error in GIMPLE’s range cache where inferred ranges were incorrectly applied even when abnormal outgoing edges existed in a block. The fix ensures that ranges are not exported from blocks with abnormal edges, preventing incorrect optimization assumptions. Additionally, a testcase was updated to correctly reflect the optimization flag requirement, ensuring accurate testing of this logic.