[Bug tree-optimization/120477] arith_overflow_check_p has a special case for COND_EXPR but it 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=120477

--- Comment #3 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:3ecb59ac017be96590653ca16cb106c68580a15f

commit r17-3266-g3ecb59ac017be96590653ca16cb106c68580a15f
Author: Kael Andrew Alonzo Franco <[email protected]>
Date:   Wed Aug 12 19:49:54 2026 -0400

    tree-optimization: Remove dead code in tree-ssa-math-opts.cc. [PR120477]

    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/120477

    gcc/ChangeLog:

            * tree-ssa-math-opts.cc (arith_overflow_check_p): 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.