* config/mn10300/mn10300.c (mn10300_regno_in_class_p): Check for
reg_renumber returning an INVALID_REGNUM.
From-SVN: r169432
+2011-01-31 Nick Clifton <nickc@redhat.com>
+
+ * config/mn10300/mn10300.c (mn10300_regno_in_class_p): Check for
+ reg_renumber returning an INVALID_REGNUM.
+
2011-01-31 Alexandre Oliva <aoliva@redhat.com>
PR libgcj/44341
if (!reg_renumber)
return false;
regno = reg_renumber[regno];
+ if (regno == INVALID_REGNUM)
+ return false;
}
return TEST_HARD_REG_BIT (reg_class_contents[rclass], regno);
}