summaryrefslogtreecommitdiff
path: root/gcc/tree-data-ref.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2012-09-19 08:59:06 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2012-09-19 08:59:06 +0000
commit7b6f8db47b0b82cb4fd69bf111cce49a5aa5d192 (patch)
tree7f44b8ca0eade367dc7e06f3690a419c4745c5d5 /gcc/tree-data-ref.c
parente0b377e0e926455e83401f8278576fdebca28d47 (diff)
downloadgcc-7b6f8db47b0b82cb4fd69bf111cce49a5aa5d192.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191463 138bc75d-0d04-0410-961f-82ee72b054a4
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 0f68fdf4020..4f6df91ec28 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)
{