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

--- Comment #2 from Mathias Stearn <redbeard0531 at gmail dot com> ---
Hmm. Taking the example from the -ftree-loop-distribute-patterns documentation,
it still seems to generate poor code, this time at both -O2 and -O3:
https://godbolt.org/g/EsQDj8

Why isn't that transformed to memset(A, 0, N); memset(B, 1, N); ? This feels
similar to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85721. Should I make a
new ticket with this example?

Reply via email to