https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111165
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |13.3 --- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> --- Does providing your own (trivially correct) strlen implementation in a separate CU also fix the issue? That would point towards dietlibc.