https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111009
--- Comment #17 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-12 branch has been updated by Andrew Macleod <amacl...@gcc.gnu.org>: https://gcc.gnu.org/g:c5c3a4a265256535a66f1656d44e143f05d77f66 commit r12-10439-gc5c3a4a265256535a66f1656d44e143f05d77f66 Author: Andrew MacLeod <amacl...@redhat.com> Date: Fri May 10 13:56:01 2024 -0400 Fix range-ops operator_addr. Lack of symbolic information prevents op1_range from being able to draw the same conclusions as fold_range can. PR tree-optimization/111009 gcc/ * range-op.cc (operator_addr_expr::op1_range): Be more restrictive. * value-range.h (contains_zero_p): New. gcc/testsuite/ * gcc.dg/pr111009.c: New.