aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-data-ref.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2012-09-19 08:59:06 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2012-09-19 08:59:06 +0000
commitf20132e7aefa8b3615154925559dd19f204c8eca (patch)
tree7f44b8ca0eade367dc7e06f3690a419c4745c5d5 /gcc/tree-data-ref.c
parentf7d0c571f76a47e432cecdc04d2d89dc734cd36a (diff)
downloadgcc-f20132e7aefa8b3615154925559dd19f204c8eca.zip
gcc-f20132e7aefa8b3615154925559dd19f204c8eca.tar.gz
gcc-f20132e7aefa8b3615154925559dd19f204c8eca.tar.bz2
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
Diffstat (limited to 'gcc/tree-data-ref.c')
-rw-r--r--gcc/tree-data-ref.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-data-ref.c b/gcc/tree-data-ref.c
index 0f68fdf..4f6df91 100644
--- a/gcc/tree-data-ref.c
+++ b/gcc/tree-data-ref.c
@@ -4130,7 +4130,7 @@ ddr_consistent_p (FILE *file,
relation the first time we detect a CHREC_KNOWN element for a given
subscript. */
-static void
+void
compute_affine_dependence (struct data_dependence_relation *ddr,
struct loop *loop_nest)
{