https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88809
--- Comment #3 from Marc Glisse <glisse at gcc dot gnu.org> --- (In reply to Alexander Monakov from comment #0) > Therefore I suggest we don't use rep-scasb for inline strlen anymore by > default (we currently do at -Os). According to https://stackoverflow.com/q/55563598/1918193 , we also do at -O1.