https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93584
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Guess the implementation is a bit naiive, testing a single char at a time when glibc likely contains more optimized variants. Not sure if constraints would allow calling strspn from libstdc++ ...