https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109306
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|The strstr function might |The strstr implementation |do undefined behavior (out |in libiberty might have |of bounds mem access) |undefined behavior (out of | |bounds mem access) Component|c |other --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I highly doubt strstr.c inside libiberty is used on any host in the last 10 years or so since strstr is C90/c++98 and GCC requires a C++11 compiler/library as a host.