https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123983
--- Comment #9 from Tamar Christina <tnfchris at gcc dot gnu.org> --- IMHO, the right fix is to have it not update out of loop uses that come from a live value. The code was intended to fixup the IVs that were not live. But will defer to you :)
