https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81165
Alexandre Oliva <aoliva at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aoliva at gcc dot gnu.org --- Comment #4 from Alexandre Oliva <aoliva at gcc dot gnu.org> --- Bisect revealed the patch for bug 80237 caused this regression. The extra argument passed to find_leader_in_sets ends up providing us with a leader where before the patch we wouldn't have one, and this ultimately happens to stop us from optimizing out the entire loop.