Landing: 1b70ccc1cec6
Project / Subsystem
gcc / fold-const.cc
Date
2026-01-17
Author
Daniel Barboza
Commit
1b70ccc1cec6a80b5415006183970e53114ca312
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- fold-const.cc
- patch_id
- —
- commit_hash
- 1b70ccc1cec6a80b5415006183970e53114ca312
- source_type
- github
- headline
- fold-const.cc: Remove strict_overflow_p flag from tree_single_nonnegative_p
- tldr
- The compiler removes the `strict_overflow_p` flag from `tree_single_nonnegative_p` and related Gimple functions.
- author
- Daniel Barboza
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • optimization
- • constant folding
- • refactoring
- • warnings
- • Gimple
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-01-17T00:00:00.000Z
The compiler removes the strict_overflow_p flag from tree_single_nonnegative_p as part of ongoing efforts to remove fold_overflow_warn() calls. This change also affects gimple-fold.cc, with similar modifications to gimple_assign_nonnegative_warnv_p and gimple_phi_nonnegative_warnv_p.