https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125558

--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Andrew Pinski <[email protected]>:

https://gcc.gnu.org/g:7696c8de5ea362f9b9d8d5782da7eae3d25ee501

commit r17-1151-g7696c8de5ea362f9b9d8d5782da7eae3d25ee501
Author: Andrew Pinski <[email protected]>
Date:   Mon Jun 1 13:39:36 2026 -0700

    Finish cleanup/removing -Wstrict-overflow= support [PR125558]

    This finishes removing the support for -Wstrict-overflow that seemly was
    missed before. It also marks the option as being ignored and fixes
    the -Wstrict-overflow= case where it was rejecting -Wstrict-overflow=1 now.

    Pushed as obvious after bootstrap/test on x86_64-linux-gnu.

            PR middle-end/125558

    gcc/ChangeLog:

            * common.opt (Wstrict-overflow): Mark as Ignore.
            (Wstrict-overflow=): Fix up and mark as igore.
            * gcc-diagnostic-spec.cc (nowarn_spec_t::nowarn_spec_t):
            Remove OPT_Wstrict_overflow.
            * opts.cc (common_handle_option): Likewise.

    Signed-off-by: Andrew Pinski <[email protected]>

Reply via email to