https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120048
--- Comment #11 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Andrew Macleod <amacl...@gcc.gnu.org>: https://gcc.gnu.org/g:7f285b7ad7cb89a9b29b52e0d25a7666dc9bd645 commit r16-391-g7f285b7ad7cb89a9b29b52e0d25a7666dc9bd645 Author: Andrew MacLeod <amacl...@redhat.com> Date: Fri May 2 15:48:08 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.