2011-08-11 Sergey Grechanik <mouseentity@ispras.ru>
* sel-sched.c (verify_target_availability): Fix usage of
hard_regno_nregs.
From-SVN: r177653
+2011-08-11 Sergey Grechanik <mouseentity@ispras.ru>
+
+ * sel-sched.c (verify_target_availability): Fix usage of
+ hard_regno_nregs.
+
2011-08-11 Dmitry Melnik <dm@ispras.ru>
* sel-sched-ir.c (init_global_and_expr_for_insn): Forbid copying of
regno = expr_dest_regno (expr);
mode = GET_MODE (EXPR_LHS (expr));
target_available = EXPR_TARGET_AVAILABLE (expr) == 1;
- n = reload_completed ? hard_regno_nregs[regno][mode] : 1;
+ n = HARD_REGISTER_NUM_P (regno) ? hard_regno_nregs[regno][mode] : 1;
live_available = hard_available = true;
for (i = 0; i < n; i++)