From a4b5414c883ff448abe86c07b5cd83e59793d32f Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Fri, 2 Aug 2002 00:50:01 +0000 Subject: df.c (df_insn_table_realloc): Change parameter to unsigned. * df.c (df_insn_table_realloc): Change parameter to unsigned. * optabs.c (expand_binop): Make variable unsigned. * simplify-rtx.c (simplify_subreg): Likewise. * unroll.c (unroll_loop): Cast to avoid signed/unsigned warnings. From-SVN: r55960 --- gcc/unroll.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gcc/unroll.c') diff --git a/gcc/unroll.c b/gcc/unroll.c index 85dff19..445ec5f 100644 --- a/gcc/unroll.c +++ b/gcc/unroll.c @@ -343,8 +343,8 @@ unroll_loop (loop, insn_count, strength_reduce_p) } else if (loop_info->n_iterations > 0 /* Avoid overflow in the next expression. */ - && loop_info->n_iterations < MAX_UNROLLED_INSNS - && loop_info->n_iterations * insn_count < MAX_UNROLLED_INSNS) + && loop_info->n_iterations < (unsigned) MAX_UNROLLED_INSNS + && loop_info->n_iterations * insn_count < (unsigned) MAX_UNROLLED_INSNS) { unroll_number = loop_info->n_iterations; unroll_type = UNROLL_COMPLETELY; @@ -374,7 +374,7 @@ unroll_loop (loop, insn_count, strength_reduce_p) for (i = 3; i >= 0; i--) while (factors[i].count--) { - if (temp * factors[i].factor < MAX_UNROLLED_INSNS) + if (temp * factors[i].factor < (unsigned) MAX_UNROLLED_INSNS) { unroll_number *= factors[i].factor; temp *= factors[i].factor; -- cgit v1.1