https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102725
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- I think that 'strlen' is only used when it is explicitely declared. Hmm, maybe I'm mistaken and it's 'implicit' already because it is standard. So loop distribution could check for builtin_decl_declared_p (BUILT_IN_STRLEN) (but that likely only "works" for the C family frontends)