2008-10-27 Vladimir Makarov <vmakarov@redhat.com>
commit1e204c7444fe8a80a1183349ccf75766c144d626
authorvmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 27 Oct 2008 16:24:19 +0000 (27 16:24 +0000)
committervmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 27 Oct 2008 16:24:19 +0000 (27 16:24 +0000)
tree1730ad833e4ff685d5139cd97e10380194193470
parente3fe8cc4a45fc1741723768cc784138d89ccf698
2008-10-27  Vladimir Makarov  <vmakarov@redhat.com>

PR middle-end/37813
* ira-conflicts.c (process_regs_for_copy): Remove class subset
check.

* ira-int.h (ira_hard_regno_cover_class): New.

* ira-lives.c (mark_reg_live, mark_reg_dead,
process_bb_node_lives): Use ira_hard_regno_cover_class.

* ira.c (reg_class ira_hard_regno_cover_class): New global
variable.
(setup_hard_regno_cover_class): New function.
(ira_init): Call setup_hard_regno_cover_class.

* ira-costs.c (cost_class_nums): Add comment.
(find_allocno_class_costs): Initiate cost_class_nums.
(setup_allocno_cover_class_and_costs): Check cost_class_nums.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@141384 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ira-conflicts.c
gcc/ira-costs.c
gcc/ira-int.h
gcc/ira-lives.c
gcc/ira.c