https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112572
--- Comment #20 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #18) > compare-elim.cc depends on up to date REG_UNUSED and between before > vzeroupper and cmpelim the note gets out of date. Note it depends on it indirectly via single_set in fact any pass that uses single_set will depends on the REG_UNUSED notes to be up to date.