https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88793
--- Comment #4 from Alexander Monakov <amonakov at gcc dot gnu.org> --- (In reply to Alexander Monakov from comment #3) > I think it's fair to raise the question if gcc should not use scasb/cmpsb by > default (I thought there was a bug for that but apparently there isn't?). We had PR 43052 for memcmp/cmpsb, which was (accidentally?) fixed. I've now opened PR 88809 for strlen/scasb.