Commit 34672f15 by Eric Botcazou Committed by Eric Botcazou

* ira-color.c (assign_hard_reg): Fix typo.

From-SVN: r179415
parent cdfa3dbb
2011-10-01 Eric Botcazou <ebotcazou@adacore.com>
* ira-color.c (assign_hard_reg): Fix typo.
2011-09-30 H.J. Lu <hongjiu.lu@intel.com> 2011-09-30 H.J. Lu <hongjiu.lu@intel.com>
* doc/extend.texi: Add missing ','. * doc/extend.texi: Add missing ','.
...@@ -1769,7 +1769,7 @@ assign_hard_reg (ira_allocno_t a, bool retry_p) ...@@ -1769,7 +1769,7 @@ assign_hard_reg (ira_allocno_t a, bool retry_p)
if (best_hard_regno >= 0) if (best_hard_regno >= 0)
{ {
for (i = hard_regno_nregs[best_hard_regno][mode] - 1; i >= 0; i--) for (i = hard_regno_nregs[best_hard_regno][mode] - 1; i >= 0; i--)
allocated_hardreg_p[best_hard_regno + 1] = true; allocated_hardreg_p[best_hard_regno + i] = true;
} }
ALLOCNO_HARD_REGNO (a) = best_hard_regno; ALLOCNO_HARD_REGNO (a) = best_hard_regno;
ALLOCNO_ASSIGNED_P (a) = true; ALLOCNO_ASSIGNED_P (a) = true;
......
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