https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119594
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- RTL fwprop1 is removing: (insn 7 2 8 2 (set (reg/v:DI 101 [ gD.2871 ]) (const_int -1 [0xffffffffffffffff])) "/app/example.cpp":9:10 95 {*movdi_internal} (expr_list:REG_UNUSED (reg/v:DI 101 [ gD.2871 ]) (nil))) The reg unused is incorrect after cse1. Did someone forgot to update the REG_UNUSED again?