From 099f0f3f6e956a49ecb663000268f3fbcf449dc1 Mon Sep 17 00:00:00 2001 From: Michael Hayes Date: Fri, 12 Jan 2001 04:09:43 +0000 Subject: loop.h (total_biv_increment): Constify iv_class pointer. * loop.h (total_biv_increment): Constify iv_class pointer. (struct induction): Replace `mem_mode' with `mem' rtx. * unroll.c (total_biv_increment): Constify iv_class pointer. * loop.c (loop_giv_reduce_benefit): Derive mem mode from mem rtx. (find_mem_givs, combine_givs_p): Likewise. (debug_ivs, debug_iv_class, loop_ivs_dump, loop_iv_class_dump): New. From-SVN: r38933 --- gcc/unroll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/unroll.c') diff --git a/gcc/unroll.c b/gcc/unroll.c index fbd5224..11be66d 100644 --- a/gcc/unroll.c +++ b/gcc/unroll.c @@ -2377,7 +2377,7 @@ fold_rtx_mult_add (mult1, mult2, add1, mode) rtx biv_total_increment (bl) - struct iv_class *bl; + const struct iv_class *bl; { struct induction *v; rtx result; -- cgit v1.1