https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32650
Wilco <wdijkstr at arm dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wdijkstr at arm dot com --- Comment #2 from Wilco <wdijkstr at arm dot com> --- This is codesize optimization as strchr is significantly slower than strlen - see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61056 which changes strchr into strlen.