https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89208 --- Comment #7 from Bernd Edlinger <bernd.edlinger at hotmail dot de> --- both. but if you use -fno-tree-loop-distribute-pattern I'd bet people would not want memcpy when not having asked for...