https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120024
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #2) > I think this will fix it: This was not enough to fix it, there was a little more to do and some cleanups too that can be done as emit_move_insn returns the last insn anyways. there is no reason to do start_sequence/end_sequence either.