On 5/29/2026 6:57 AM, Daniel Barboza wrote:
Hello,
In this version we changed the last patch (patch 8) with additional doc
changes that were missing, along with removing the option from c.opt.
We also changed the tone after Andrea informed us that the option was
already deprecated since GCC 8:
https://gcc.gnu.org/gcc-8/changes.html
"-fno-strict-overflow is now mapped to -fwrapv -fwrapv-pointer (...)
-Wstrict-overflow is deprecated."
Thus we're actually finalizing the deprecation that was announced in GCC
8.
No other patches changed. Bootstrapped and regtested in x86_64 and
aarch64.
Changes from v1:
- patch 8: additional doc changes, removed option from c.opt;
- v1 link: https://gcc.gnu.org/pipermail/gcc-patches/2026-May/718197.html
Daniel Barboza (8):
tree-ssa-reassoc: remove strict_overflow_p from range_entry
tree-vrp: remove compare_values_warnv ()
gcc/expr.cc: remove Wstrict-overflow from maybe_optimize_sub_cmp_0
tree-ssa-loop-ch.cc remove strict_overflow logic
gcc/fold-const: remove fold_*_overflow_warnings
testsuite: remove all Wstrict-overflow tests
testsuite: remove Wstrict-overflow related tests
gcc: finalize deprecation of -Wstrict-overflow
This series is OK. Thanks for picking this up. Obviously finishing
deprecation has kept falling off everyone's radar for many years.
jeff