Landing: dd5183fbcba0
Project / Subsystem
gcc / gcc/fold-const.cc
Date
2026-01-17
Author
Daniel Barboza
Commit
dd5183fbcba0cd6a727aecd8ce86029eb1640499
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc/fold-const.cc
- patch_id
- —
- commit_hash
- dd5183fbcba0cd6a727aecd8ce86029eb1640499
- source_type
- github
- headline
- Remove strict_overflow_p from tree_binary_nonzero_warnv_p
- tldr
- The strict_overflow_p flag was removed from tree_binary_nonzero_warnv_p, and the function was renamed to tree_binary_nonzero_p.
- 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 tree_binary_nonzero_warnv_p helper function, and the function was renamed to tree_binary_nonzero_p. This helper is called by tree_expr_nonzero_warnv_p, which aims to eliminate a call to fold_overflow_warning(). The renaming reflects that the function no longer directly handles overflow warnings.