https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126648
--- Comment #3 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:0bf6e399dbc8e1f6d2b3f7e0f3a0cab9ac55b572 commit r17-3203-g0bf6e399dbc8e1f6d2b3f7e0f3a0cab9ac55b572 Author: Andrew MacLeod <[email protected]> Date: Wed Aug 5 14:05:33 2026 -0400 Check for undefined in operator_lshift::op1_range. If we conclude that the op1_range calculation is undefined, simply abort the calculation. PR tree-optimization/126648 gcc/ * range-op.cc (operator_lshift::op1_range): Handle undefined. gcc/testsuite/ * gcc.dg/pr126648.c: New.
