https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117138
--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:28982c271cbbed3580e4c7c784892694c3b6b2de commit r15-4351-g28982c271cbbed3580e4c7c784892694c3b6b2de Author: Richard Biener <rguent...@suse.de> Date: Tue Oct 15 10:23:06 2024 +0200 tree-optimization/117138 - fix ICE with vector comparison in COND_EXPR The range folding code of COND_EXPRs missed a check whether the comparison operand type is supported. PR tree-optimization/117138 * gimple-range-fold.cc (fold_using_range::condexpr_adjust): Check if the comparison operand type is supported. * gcc.dg/torture/pr117138.c: New testcase.