Hi there,
the ARM build of trunk also fails when compiling libgcc...
Judging from the comments of the ira_class_hard_reg_index array
(negative as unavailable),
it seems that you probably meant this:
Index: ira-costs.c
===================================================================
--- ira-costs.c (revision 159662)
+++ ira-costs.c (working copy)
@@ -1794,7 +1794,7 @@
{
regno =
ira_non_ordered_class_hard_regs[cover_class][j];
index = ira_class_hard_reg_index[cover_class][regno];
- ira_assert (index != 0);
+ ira_assert (index >= 0);
reg_costs[index] += ALLOCNO_FREQ (a);
}
}
I haven't tested it, but ARM on trunk now builds again...