https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78614
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amodra at gcc dot gnu.org --- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Broken by r235913, before that it was starting with that copy_rtx. I think we should just restore it back. The if (repl || reg2) before add_reg_note also doesn't make sense to me, because if that is false, then if (!repl && !reg2) is true and we wouldn't be using different path (and nothing changes repl or reg2).