https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80265
--- Comment #25 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Jonathan Wakely from comment #24) > Also, the more work that the algorithm does, the more concerned I'd be that > although the inputs are constant (and so we use the naive for-loop) the > actual work done in the loop might be too much to inline, so we make a That should have read "might be too much to inline and/or unroll at compile-time". > run-time call to the slow version when we could use memcmp.