aboutsummaryrefslogtreecommitdiff
path: root/gcc/loop.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2003-01-16 15:13:33 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2003-01-16 15:13:33 +0000
commitfc5553705286d244d9cb6b6447ddb93d0ed6e5fa (patch)
treeb6bfa10c09235d9c777bc65f4eb59e74ae0e4eec /gcc/loop.c
parentfaca036b47943d855a9cba0a319680fcbcbf4988 (diff)
downloadgcc-fc5553705286d244d9cb6b6447ddb93d0ed6e5fa.zip
gcc-fc5553705286d244d9cb6b6447ddb93d0ed6e5fa.tar.gz
gcc-fc5553705286d244d9cb6b6447ddb93d0ed6e5fa.tar.bz2
arm.h (CONDITIONAL_REGISTER_USAGE): Avoid signed/unsigned warning.
* arm.h (CONDITIONAL_REGISTER_USAGE): Avoid signed/unsigned warning. * emit-rtl.c (gen_rtx_REG, set_mem_attributes_minus_bitpos, init_emit_once): Likewise. * flow.c (mark_regs_live_at_end, calculate_global_regs_live): Likewise. * function.c (assign_stack_temp_for_type): Likewise. * loop.c (loop_invariant_p): Likewise. * recog.c (push_operand): Likewise. * regclass.c (init_reg_sets_1): Likewise. * reload.c (update_auto_inc_notes): Likewise. * reload1.c (reload_as_needed, emit_input_reload_insns): Likewise. * stmt.c (expand_asm_operands): Likewise. * stor-layout.c (start_record_layout): Likewise. cp: * class.c (layout_virtual_bases): Avoid signed/unsigned warning. java: * jcf-write.c (generate_bytecode_insns): Avoid signed/unsigned warning. From-SVN: r61389
Diffstat (limited to 'gcc/loop.c')
-rw-r--r--gcc/loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/loop.c b/gcc/loop.c
index b0ce7cd..8c3ddc7 100644
--- a/gcc/loop.c
+++ b/gcc/loop.c
@@ -3269,7 +3269,7 @@ loop_invariant_p (loop, x)
These have always been created by the unroller and are set in
the loop, hence are never invariant. */
- if (REGNO (x) >= regs->num)
+ if (REGNO (x) >= (unsigned) regs->num)
return 0;
if (regs->array[REGNO (x)].set_in_loop < 0)