[Bug tree-optimization/126032] gcc/gimple-ssa-warn-access.cc:901:30: warning: this condition has identical branches [-Wduplicated-branches]

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jun 30 09:41:34 GMT 2026


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

--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rguenth@gcc.gnu.org>:

https://gcc.gnu.org/g:11b28b2ab964dfa1bf7ec8282b5ab06ca4f26f77

commit r17-2004-g11b28b2ab964dfa1bf7ec8282b5ab06ca4f26f77
Author: Richard Biener <rguenther@suse.de>
Date:   Tue Jun 30 10:19:27 2026 +0200

    tree-optimization/126032 - pasto in gimple-ssa-warn-access.cc

    The maybe case should also diagnose a may be.

            PR tree-optimization/126032
            * gimple-ssa-warn-access.cc (maybe_warn_for_bound): Fixup
            diagnostic string.


More information about the Gcc-bugs mailing list