This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/37813] assert with IRA_COVER_CLASSES with singleton
- From: "hjl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Oct 2008 07:16:15 -0000
- Subject: [Bug middle-end/37813] assert with IRA_COVER_CLASSES with singleton
- References: <bug-37813-507@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from hjl at gcc dot gnu dot org 2008-10-26 07:16 -------
Subject: Bug 37813
Author: hjl
Date: Sun Oct 26 07:14:49 2008
New Revision: 141372
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141372
Log:
2008-10-25 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.
Modified:
branches/ira-merge/gcc/ChangeLog.ira
branches/ira-merge/gcc/ira-conflicts.c
branches/ira-merge/gcc/ira-costs.c
branches/ira-merge/gcc/ira-int.h
branches/ira-merge/gcc/ira-lives.c
branches/ira-merge/gcc/ira.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37813