Landing: 3b65feed776d
Project / Subsystem
gcc / gcc/fold-const.cc
Date
2026-01-17
Author
Daniel Barboza
Commit
3b65feed776df4c79a958406ad1bd25aeb08b38e
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc/fold-const.cc
- patch_id
- —
- commit_hash
- 3b65feed776df4c79a958406ad1bd25aeb08b38e
- source_type
- github
- headline
- Remove strict overflow flag from make_range helpers
- tldr
- The strict_overflow flag was removed from make_range helpers, as part of deprecating the -Wstrict_overflow warning.
- author
- Daniel Barboza
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • optimization
- • constant folding
- • overflow
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-01-17T00:00:00.000Z
The strict_overflow_p flag was removed from the make_range and make_range_step helper functions in fold-const.cc. These functions generate ranges of values, and the change is a step towards deprecating the -Wstrict_overflow warning. Callers in other files were updated to accommodate the removal of the flag.