https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89679
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- The first thing which looks invalid to me is when fwprop1 adds a bogus REG_EQUAL note: (insn 17 6 19 2 (set (reg:SI 140) (const_int -1 [0xffffffffffffffff])) "pr89679.c":16:3 494 {*movsi_internal1} (expr_list:REG_DEAD (reg:HI 138 [ c ]) (expr_list:REG_DEAD (reg:HI 136 [ c ]) (expr_list:REG_EQUAL (const_int 65535 [0xffff]) (nil))))) SImode -1 is certainly not equal to 0xffff.