https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102725

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #1)
> You need -fno-tree-loop-distribution -fno-tree-loop-distribute-patterns to
> turn it off.  There is another older bug about this for memcpy.

Well, I would expect this optimization would do the optimization only if
__builtin_strlen is allowed (not disallowed by the option).

Reply via email to