https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123319
--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Andrew Macleod <[email protected]>: https://gcc.gnu.org/g:9d9e983950171f3493f20eca5a6778ea4d6bbb98 commit r16-6550-g9d9e983950171f3493f20eca5a6778ea4d6bbb98 Author: Andrew MacLeod <[email protected]> Date: Mon Jan 5 11:00:00 2026 -0500 Always snap subranges after intersection. PR tree-optimization/123319 gcc/ * value-range.cc (irange::intersect): If there is a bitmask, snap subranges after creating them. gcc/testsuite/ * gcc.dg/pr123319.c: New.
