https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116072
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Also what glibc version is on the system? Since if it is std::find that is causing the regression memchr was improved in the last year or so in glibc.