https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82524
--- Comment #14 from Uroš Bizjak <ubizjak at gmail dot com> --- Comment on attachment 42346 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42346 gcc8-pr82524.patch >@@ -9058,7 +9059,8 @@ (define_insn "*andqi_ext_2" > (const_int 8) > (const_int 8)) 0)) 0)) > (clobber (reg:CC FLAGS_REG))] >- "" >+ "rtx_equal_p (operands[0], operands[1]) >+ || rtx_equal_p (operands[0], operands[1])" Please note typo above, you have also to check operands[2]. > "and{b}\t{%h2, %h0|%h0, %h2}" > [(set_attr "type" "alu") > (set_attr "mode" "QI")])