From 7b6f8db47b0b82cb4fd69bf111cce49a5aa5d192 Mon Sep 17 00:00:00 2001 From: rguenth Date: Wed, 19 Sep 2012 08:59:06 +0000 Subject: 2012-09-19 Richard Guenther 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 --- gcc/tree-data-ref.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/tree-data-ref.c') 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) { -- cgit v1.2.1