[Bug tree-optimization/126669] use_in_zero_equality has a special case for COND_EXPR but that is dead

"cvs-commit at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126669

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

https://gcc.gnu.org/g:38bc78f593488bb1a28ca6b20e538f378113392d

commit r17-3044-g38bc78f593488bb1a28ca6b20e538f378113392d
Author: Kael Andrew Alonzo Franco <[email protected]>
Date:   Thu Aug 6 19:52:46 2026 -0400

    tree-optimization: Remove dead code. [PR126669]

    This is dead since COND_EXPR is always a SSA_NAME or a constant.

    Bootstrapped and regtested on x86_64-pc-linux-gnu.

            PR tree-optimization/126669

    gcc/ChangeLog:

            * tree-ssa-strlen.cc (use_in_zero_equality): Remove dead code.

    Signed-off-by: Kael Andrew Franco <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.