RFA: a patch for PR49154

Vladimir Makarov vmakarov@redhat.com
Wed May 25 23:14:00 GMT 2011


The following patch solves problem 
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49154 for SPARC.  SPARC FPCC 
registers were excluded from pressure classes because the movement 
between them is costly.  Therefore the assert was triggered again.  
Common logic says that it should be a pressure class because the 
registers are common and that is attributed that the class has no 
subclasses.

The patch was bootstrapped on x86-64 and teststed on the same targets 
(about 10 of them) + regular SPARC (without soft floating point).


Ok to commit?

2011-05-25  Vladimir Makarov <vmakarov@redhat.com>

         PR rtl-optimization/49154
         * ira.c (setup_pressure_classes): Process class without sublcasses
         as a candidate for pressure classes.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pr49154.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110525/9aa7f26e/attachment.ksh>


More information about the Gcc-patches mailing list