]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/tree-data-ref.c
re PR tree-optimization/54132 (Incorrect loop transformation with -ftree-loop-distrib...
authorRichard Guenther <rguenther@suse.de>
Wed, 19 Sep 2012 08:59:06 +0000 (08:59 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 19 Sep 2012 08:59:06 +0000 (08:59 +0000)
commitf20132e7aefa8b3615154925559dd19f204c8eca
tree7f44b8ca0eade367dc7e06f3690a419c4745c5d5
parentf7d0c571f76a47e432cecdc04d2d89dc734cd36a
re PR tree-optimization/54132 (Incorrect loop transformation with -ftree-loop-distribute-patterns)

2012-09-19  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/54132
* tree-loop-distribution.c (classify_partition): Properly
check dependences for memmove.
* tree-data-ref.h (compute_affine_dependence): Declare.
* tree-data-ref.c (compute_affine_dependence): Export.

* gcc.dg/tree-ssa/ldist-21.c: New testcase.
* gcc.dg/torture/pr54132.c: Likewise.

From-SVN: r191463
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr54132.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/ldist-21.c [new file with mode: 0644]
gcc/tree-data-ref.c
gcc/tree-data-ref.h
gcc/tree-loop-distribution.c