https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120654
--- Comment #7 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-14 branch has been updated by Richard Biener <[email protected]>: https://gcc.gnu.org/g:212f1ccd816e58b9697662ff9dd0376be67a975b commit r14-12078-g212f1ccd816e58b9697662ff9dd0376be67a975b 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)
