https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111622
--- Comment #7 from CVS 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:8be20f3b0bded7f9b690b27cbee58b283dbe827b commit r14-4630-g8be20f3b0bded7f9b690b27cbee58b283dbe827b Author: Andrew MacLeod <amacl...@redhat.com> Date: Thu Oct 12 17:06:36 2023 -0400 Do not add partial equivalences with no uses. PR tree-optimization/111622 * value-relation.cc (equiv_oracle::add_partial_equiv): Do not register a partial equivalence if an operand has no uses.