https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100342
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> --- And there is one more important insn in between 2737 and 2275, in particular (insn 2911 2867 2853 2 (set (reg:DI 42 r14 [2223]) (const_int 72057594037927935 [0xffffffffffffff])) "pr100342.c":68:12 66 {*movdi_internal} (nil)) On that one the old value of r14 is lost.