Commit fa52261e by Richard Stallman

*** empty log message ***

From-SVN: r1151
parent 77a02b01
...@@ -1603,6 +1603,10 @@ reload (first, global, dumpfile) ...@@ -1603,6 +1603,10 @@ reload (first, global, dumpfile)
} }
} }
} }
/* We couldn't find any registers for this reload.
Abort to avoid going into an infinite loop. */
if (i == FIRST_PSEUDO_REGISTER)
abort ();
} }
} }
...@@ -1863,7 +1867,10 @@ count_possible_groups (group_size, group_mode, max_groups) ...@@ -1863,7 +1867,10 @@ count_possible_groups (group_size, group_mode, max_groups)
for (k = 0; k < group_size[i]; k++) for (k = 0; k < group_size[i]; k++)
SET_HARD_REG_BIT (counted_for_groups, j + k); SET_HARD_REG_BIT (counted_for_groups, j + k);
} }
j += k; /* Skip to the last reg in this group. When j is incremented
above, it will then point to the first reg of the next
possible group. */
j += k - 1;
} }
} }
......
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