https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117182
--- Comment #8 from Oleg Endo <olegendo at gcc dot gnu.org> --- PR 115948 seems to be hitting the same or similar case, even without LRA. Perhaps because nothing ever validates any insn changes for mode-switching after mode-switching.cc has initially placed the mode-set insns.
