Landing: bbf71b94fc1a
Project / Subsystem
gcc / gcc/value-range
Date
2026-07-19
Author
Aldy Hernandez
Commit
bbf71b94fc1af926cb9dfe3934e716ced755dc8b
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc/value-range
- patch_id
- —
- commit_hash
- bbf71b94fc1af926cb9dfe3934e716ced755dc8b
- source_type
- github
- headline
- Prepare value-range analysis to handle multiple sub-ranges.
- tldr
- Value-range analysis data structure refactored to support multiple sub-ranges per slot.
- author
- Aldy Hernandez
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • optimization
- • value-range analysis
- • refactoring
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-19T00:00:00.000Z
The internal data structure for value-range analysis has been refactored to prepare for supporting multiple sub-ranges efficiently. The current implementation, limited to one sub-range per slot, now stores endpoints in a one-element array. This change modifies various functions to iterate over a new m_num_ranges field and adds guards for single-range operations, laying the groundwork for future enhancements.