https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62187
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- If I understand correctly, that would require doing two passes over the const char* argument, one to find its length and another (when the lengths are equal) to compare each character. That would be beneficial sometimes, and not other times.