https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116003
--- Comment #2 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:01c095ab77f8f43bf77e4c0be6c4f4c0d15a4c29 commit r15-2165-g01c095ab77f8f43bf77e4c0be6c4f4c0d15a4c29 Author: Andrew MacLeod <amacl...@redhat.com> Date: Fri Jul 19 17:39:40 2024 -0400 Check for SSA_NAME not in the IL yet. Check for an SSA_NAME not in the CFG before trying to create an equivalence record in the defintion block. PR tree-optimization/116003 gcc/ * value-relation.cc (equiv_oracle::register_initial_def): Check if SSA_NAME is in the IL before registering. gcc/testsuite/ * gcc.dg/pr116003.c: New.