Landing: 62d5880b9599
Project / Subsystem
gcc / gcc/range-op-float
Date
2026-04-28
Author
Jakub Jelinek
Commit
62d5880b9599c3bdbc22b80d522b0bea14f4beaf
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc/range-op-float
- patch_id
- —
- commit_hash
- 62d5880b9599c3bdbc22b80d522b0bea14f4beaf
- source_type
- github
- headline
- Range-op-float: Avoid ICE on undefined ranges
- tldr
- Fixes an internal compiler error (ICE) that occurs when processing undefined ranges in floating-point operations.
- author
- Jakub Jelinek
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • bugfix
- • optimization
- • floating-point
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-04-28T00:00:00.000Z
The compiler was crashing due to an incorrect assumption about the availability of lower/upper bounds for undefined ranges. The operator_not_equal::fold_range function now calls empty_range_varying to handle these cases, preventing the ICE. This issue was introduced in r14-4153 and this commit reverts to the prior behavior.