Landing: 2c3ff1f475d1
Project / Subsystem
gcc / gcc
Date
2026-08-07
Author
Aldy Hernandez
Commit
2c3ff1f475d11a5576adf4c72e8bd5b74ce5b060
Source
github
Perf win
Yes
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc
- patch_id
- —
- commit_hash
- 2c3ff1f475d11a5576adf4c72e8bd5b74ce5b060
- source_type
- github
- headline
- Convert float-to-int casts to sub-ranges.
- tldr
- Float-to-int casts are converted to sub-ranges for improved analysis.
- author
- Aldy Hernandez
- outcome
- committed
- performance_win
- true
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • gcc
- • optimization
- • float
- • integer
- • range-analysis
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-07T00:00:00.000Z
The compiler now converts floating-point to integer casts into operations on sub-ranges. This change improves the compiler’s ability to analyze and optimize these conversions by breaking them down into more manageable components. A new test case has been added to verify this functionality.