https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78348
--- Comment #10 from Dominik Vogt <vogt at linux dot vnet.ibm.com> --- (In reply to Richard Biener from comment #7) > Author: rguenth > Date: Wed Nov 16 08:42:20 2016 > New Revision: 242470 > > URL: https://gcc.gnu.org/viewcvs?rev=242470&root=gcc&view=rev > Log: > 2016-11-16 Richard Biener <rguent...@suse.de> > > PR tree-optimization/78348 > * tree-loop-distribution.c (enum partition_kind): Add PKIND_MEMMOVE. > (generate_memcpy_builtin): Honor PKIND_MEMCPY on the partition. > (classify_partition): Set PKIND_MEMCPY if dependence analysis > revealed no dependency, PKIND_MEMMOVE otherwise. > > * gcc.dg/tree-ssa/ldist-24.c: New testcase. > > Added: > trunk/gcc/testsuite/gcc.dg/tree-ssa/ldist-24.c > Modified: > trunk/gcc/ChangeLog > trunk/gcc/testsuite/ChangeLog > trunk/gcc/tree-loop-distribution.c The new test ldist-24.c fails on s390x: PASS: gcc.dg/tree-ssa/ldist-24.c (test for excess errors) FAIL: gcc.dg/tree-ssa/ldist-24.c scan-tree-dump ldist "generated memcpy" FAIL: gcc.dg/tree-ssa/ldist-24.c scan-tree-dump ldist "generated memset zero" (See dump file in previous comment.)