Commit 4cd5f619 by Ulrich Weigand Committed by Ulrich Weigand

* struct-equiv.c (find_dying_inputs): Fix off-by-one bug.

From-SVN: r109645
parent 6e976965
2006-01-12 Ulrich Weigand <uweigand@de.ibm.com>
* struct-equiv.c (find_dying_inputs): Fix off-by-one bug.
2006-01-11 Andrew Pinski <pinskia@physics.uc.edu> 2006-01-11 Andrew Pinski <pinskia@physics.uc.edu>
* config/i386/darwin.h (SUBTARGET_ENCODE_SECTION_INFO): Define. * config/i386/darwin.h (SUBTARGET_ENCODE_SECTION_INFO): Define.
......
...@@ -1280,7 +1280,7 @@ find_dying_inputs (struct equiv_info *info) ...@@ -1280,7 +1280,7 @@ find_dying_inputs (struct equiv_info *info)
int nregs = (regno >= FIRST_PSEUDO_REGISTER int nregs = (regno >= FIRST_PSEUDO_REGISTER
? 1 : hard_regno_nregs[regno][GET_MODE (x)]); ? 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)) if (REGNO_REG_SET_P (info->x_local_live, regno))
{ {
info->dying_inputs++; info->dying_inputs++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment