[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
gcc-bugzilla@gcc.gnu.org
Thu Aug 13 18:57:11 GMT 2026
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 <kael@gcc.gnu.org>:
https://gcc.gnu.org/g:3ecb59ac017be96590653ca16cb106c68580a15f
commit r17-3266-g3ecb59ac017be96590653ca16cb106c68580a15f
Author: Kael Andrew Alonzo Franco <kaelfandrew@gmail.com>
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 <kaelfandrew@gmail.com>
More information about the Gcc-bugs
mailing list