https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120654
--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-15 branch has been updated by Richard Biener <[email protected]>: https://gcc.gnu.org/g:d8a9467163addaf61297443b41f381420d5af7f5 commit r15-9864-gd8a9467163addaf61297443b41f381420d5af7f5 Author: Richard Biener <[email protected]> Date: Fri Jun 20 11:14:38 2025 +0200 tree-optimization/120654 - ICE with range query from IVOPTs The following ICEs as we hand down an UNDEFINED range to where it isn't expected. Put the guard that's there earlier. PR tree-optimization/120654 * vr-values.cc (range_fits_type_p): Check for undefined_p () before accessing type (). * gcc.dg/torture/pr120654.c: New testcase. (cherry picked from commit 6bd1223bd55ed60fa5dbfd4a8444e133e5e933f5)
