Landing: 49766e7b5df1
Project / Subsystem
gcc / gcc/fold-const.cc
Date
2026-01-17
Author
Daniel Barboza
Commit
49766e7b5df144693dc3eda40e6d86e6f1c74b65
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc/fold-const.cc
- patch_id
- —
- commit_hash
- 49766e7b5df144693dc3eda40e6d86e6f1c74b65
- source_type
- github
- headline
- Remove strict_overflow_p from tree_unary_nonzero_warnv_p
- tldr
- The strict_overflow_p flag was removed from tree_unary_nonzero_warnv_p, which was then renamed to tree_unary_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_unary_nonzero_warnv_p helper function, and the function was subsequently renamed to tree_unary_nonzero_p. This function is called by tree_expr_nonzero_warnv_p, which is part of a broader effort to remove calls to fold_overflow_warning(). The renaming reflects that the function no longer directly handles overflow warnings.