http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59049
--- Comment #3 from Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> --- Making emit_store_flag return 0 in the case of const-const comparison gives simpler rtl generation: (insn 14 13 15 (set (reg:QI 175) (const_int 1 [0x1])) .../strlen-2.c:29 -1 (nil)) (insn 15 14 16 (set (reg:QI 175) (const_int 0 [0])) .../strlen-2.c:29 -1 (nil)) (code_label 16 15 0 8 "" [0 uses])