https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115040
--- Comment #3 from Sam James <sjames at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #2) > > clang lowers both the calls to (w)memchr > > Is that with libc++ or libstdc++? It's libc++. Checked locally too..