2011-03-31 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/48381
* ira-color.c (assign_hard_reg): Use hard reg set intersection
instead of ira_class_hard_reg_index for calculating conflicting
hard registers.
From-SVN: r171795
+2011-03-31 Vladimir Makarov <vmakarov@redhat.com>
+
+ PR rtl-optimization/48381
+ * ira-color.c (assign_hard_reg): Use hard reg set intersection
+ instead of ira_class_hard_reg_index for calculating conflicting
+ hard registers.
+
2011-03-31 Steven Bosscher <steven@gcc.gnu.org>
* cprop.c: Clean up hash table building.
{
hard_regno = ALLOCNO_HARD_REGNO (conflict_a);
if (hard_regno >= 0
- && ira_class_hard_reg_index[aclass][hard_regno] >= 0)
+ && (ira_hard_reg_set_intersection_p
+ (hard_regno, ALLOCNO_MODE (conflict_a),
+ reg_class_contents[aclass])))
{
int n_objects = ALLOCNO_NUM_OBJECTS (conflict_a);
int conflict_nregs;