aboutsummaryrefslogtreecommitdiff
path: root/gcc/struct-equiv.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/struct-equiv.c')
-rw-r--r--gcc/struct-equiv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/struct-equiv.c b/gcc/struct-equiv.c
index e38ae73..1f11ff8 100644
--- a/gcc/struct-equiv.c
+++ b/gcc/struct-equiv.c
@@ -1280,7 +1280,7 @@ find_dying_inputs (struct equiv_info *info)
int nregs = (regno >= FIRST_PSEUDO_REGISTER
? 1 : hard_regno_nregs[regno][GET_MODE (x)]);
- for (info->local_rvalue[i] = false; nregs >= 0; regno++, --nregs)
+ for (info->local_rvalue[i] = false; nregs > 0; regno++, --nregs)
if (REGNO_REG_SET_P (info->x_local_live, regno))
{
info->dying_inputs++;