https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79450
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- IMNSHO this is a dup of PR79388. The problem is again that get_last_value is called on (reg/v:QI 96 [ x ]) and reg_stat[96].last_set is (note 22 21 24 3 NOTE_INSN_DELETED) and (const_int 0 [0]) which is wrong, because pseudo 96 has been set multiple times, once indeed to something that would be always zero, but all that has been removed when the whole something = something % 24 operation consisting of various shifts, additions and subtraction has been optimized into something. *** This bug has been marked as a duplicate of bug 79388 ***