This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/37813] assert with IRA_COVER_CLASSES with singleton



------- Comment #7 from vmakarov at gcc dot gnu dot org  2008-10-27 16:25 -------
Subject: Bug 37813

Author: vmakarov
Date: Mon Oct 27 16:24:19 2008
New Revision: 141384

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141384
Log:
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.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ira-conflicts.c
    trunk/gcc/ira-costs.c
    trunk/gcc/ira-int.h
    trunk/gcc/ira-lives.c
    trunk/gcc/ira.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37813


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]