https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127781
--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Andrew Macleod <[email protected]>: https://gcc.gnu.org/g:0f774e452a421ebe448b16ccc16e56cdaaea546b commit r17-5042-g0f774e452a421ebe448b16ccc16e56cdaaea546b Author: Andrew MacLeod <[email protected]> Date: Fri Oct 9 13:03:29 2026 -0400 Check frontier equivs for the free list. When adding the initial set of equivalences to the frontier search, we also need to make sure any equivalences are not in the FREE_LIST now. valid_equivs already checks this, it was an oversight not to check here. PR tree-optimization/127781 gcc/ * value-relation.cc (dom_oracle::start_search): Check if any equiv set elements are now in the free list. gcc/testsuite/ * gcc.dg/pr127781.c: New.
