regclass.c (init_reg_sets_1): Don't assume cost 2 within a register class.

* regclass.c (init_reg_sets_1): Don't assume cost 2 within
        a register class.

From-SVN: r45124
This commit is contained in:
Richard Henderson 2001-08-23 00:37:03 -07:00 committed by Richard Henderson
parent 1ba2bace76
commit 26a952a8a4
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-08-23 Richard Henderson <rth@redhat.com>
* regclass.c (init_reg_sets_1): Don't assume cost 2 within
a register class.
2001-08-22 Geoffrey Keating <geoffk@redhat.com>
* reload1.c (emit_reload_insns): Don't look for notes

View File

@ -518,7 +518,7 @@ init_reg_sets_1 ()
}
else
{
cost = i == j ? 2 : REGISTER_MOVE_COST (m, i, j);
cost = REGISTER_MOVE_COST (m, i, j);
for (p2 = &reg_class_subclasses[j][0];
*p2 != LIM_REG_CLASSES;