re PR tree-optimization/82574 (wrong code at -O3 on x86_64-linux-gnu)
authorBin Cheng <bin.cheng@arm.com>
Wed, 18 Oct 2017 15:56:15 +0000 (15:56 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Wed, 18 Oct 2017 15:56:15 +0000 (15:56 +0000)
commit85aa9ed64bf871b2e620211609855804e1775864
tree64a5269b9e0cf50625e2eb19ec76c7064588216e
parente33507e33c20c23d4b72687ce5129dcc4c75f0be
re PR tree-optimization/82574 (wrong code at -O3 on x86_64-linux-gnu)

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.

From-SVN: r253857
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr82574.c [new file with mode: 0644]
gcc/tree-loop-distribution.c