This is the mail archive of the gcc-patches@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]

RFA: patch to solve PR 48331 and PR 48334 in IRA


The following patch solves PR 48331 and PR 48334. The problem was in that allocno profitable hard regs were not set up for priority colouring and function assign_hard_reg used a garbage in its decisions generating wrong code or code of awful quality.

Is it ok to commit?

2011-03-29 Vladimir Makarov <vmakarov@redhat.com>

        PR rtl-optimization/48331
        PR rtl-optimization/48334
        * ira-color.c (color_allocnos): Call setup_profitable_hard_regs
        for any used algorithm.

Attachment: pr48331-48334.patch
Description: Text document


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