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

From-SVN: r179415
This commit is contained in:
Eric Botcazou 2011-10-01 19:42:54 +00:00 committed by Eric Botcazou
parent cdfa3dbb86
commit 34672f15e4
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
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>
* doc/extend.texi: Add missing ','.

View file

@ -1769,7 +1769,7 @@ assign_hard_reg (ira_allocno_t a, bool retry_p)
if (best_hard_regno >= 0)
{
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_ASSIGNED_P (a) = true;