https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106514
--- Comment #2 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:19ffb35d17474bb4dd3eb78963c28d10b5362321 commit r13-1952-g19ffb35d17474bb4dd3eb78963c28d10b5362321 Author: Andrew MacLeod <amacl...@redhat.com> Date: Wed Aug 3 13:55:42 2022 -0400 Do not walk equivalence set in path_oracle::killing_def. When killing a def in the path ranger, there is no need to walk the set of existing equivalences clearing bits. An equivalence match requires that both ssa-names have to be in each others set. As killing_def creates a new empty set contianing only the current def, it already ensures false equivaelnces won't happen. PR tree-optimization/106514 * value-relation.cc (path_oracle::killing_def) Do not walk the equivalence set clearing bits.