Landing: 34d559f0fab5
Project / Subsystem
gcc / gcc/expr.cc
Date
2026-05-25
Author
Daniel Barboza
Commit
34d559f0fab5d366e99e33a9fc754f9dca96cd51
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc/expr.cc
- patch_id
- —
- commit_hash
- 34d559f0fab5d366e99e33a9fc754f9dca96cd51
- source_type
- github
- headline
- Remove Wstrict-overflow warning from maybe_optimize_sub_cmp_0
- tldr
- The compiler no longer warns about strict overflow in the maybe_optimize_sub_cmp_0 function.
- author
- Daniel Barboza
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • optimization
- • warning
- • strict overflow
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-05-25T00:00:00.000Z
The compiler generated a warning related to strict overflow in maybe_optimize_sub_cmp_0, a function that helps optimize subtraction and comparison operations. This commit removes that warning and its associated test case, as part of a larger effort to deprecate the -Wstrict-overflow warning.