aboutsummaryrefslogtreecommitdiff
path: root/gcc/unroll.c
diff options
context:
space:
mode:
authorMichael Hayes <mhayes@redhat.com>2001-01-12 04:09:43 +0000
committerMichael Hayes <m.hayes@gcc.gnu.org>2001-01-12 04:09:43 +0000
commit099f0f3f6e956a49ecb663000268f3fbcf449dc1 (patch)
tree841c6f7f5a681573914b47a1f9d98af2f35d31ce /gcc/unroll.c
parent69e905c854d301b0cbc0723a6fd232b2b3bc6e35 (diff)
downloadgcc-099f0f3f6e956a49ecb663000268f3fbcf449dc1.zip
gcc-099f0f3f6e956a49ecb663000268f3fbcf449dc1.tar.gz
gcc-099f0f3f6e956a49ecb663000268f3fbcf449dc1.tar.bz2
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
Diffstat (limited to 'gcc/unroll.c')
-rw-r--r--gcc/unroll.c2
1 files changed, 1 insertions, 1 deletions
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;