https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82574
--- Comment #3 from amker at gcc dot gnu.org --- Author: amker Date: Wed Oct 18 15:56:15 2017 New Revision: 253857 URL: https://gcc.gnu.org/viewcvs?rev=253857&root=gcc&view=rev Log: PR tree-optimization/82574 * tree-loop-distribution.c (find_single_drs): New parameter. Check that data reference must be executed exactly once per iteration against the outermost loop in nest. (classify_partition): Update call to above function. gcc/testsuite * gcc.dg/tree-ssa/pr82574.c: New test. Added: trunk/gcc/testsuite/gcc.dg/tree-ssa/pr82574.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-loop-distribution.c