https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115040
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Sam James from comment #3) > (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.. Then this is partly a dup of bug 88545