https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120048
--- Comment #13 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-14 branch has been updated by Andrew Macleod <amacl...@gcc.gnu.org>: https://gcc.gnu.org/g:93b85bdf830477fec8db1d8afcaca13530776161 commit r14-11745-g93b85bdf830477fec8db1d8afcaca13530776161 Author: Andrew MacLeod <amacl...@redhat.com> Date: Mon May 5 12:17:13 2025 -0400 Allow IPA_CP to handle UNDEFINED as VARYING. When applying a bitmask to reflect ranges, it is sometimes deferred and this can result in an UNDEFINED result. IPA is not expecting this, and add a check for it, and convert to VARYING if encountered. PR tree-optimization/120048 gcc/ * ipa-cp.cc (ipcp_store_vr_results): Check for UNDEFINED. gcc/testsuite/ * gcc.dg/pr120048.c: New.