On 11-05-24 8:24 PM, Hans-Peter Nilsson wrote:
On Fri, 13 May 2011, Vladimir Makarov wrote:
The following patch solves the problem described on
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48971

The patch was successfully bootstrapped on x86-64 and checked for ppc64, ia64,
i686-linux, i686-apple-darwin, mips, arm, s390x, and sparc with and without
-msoft-float.

Is it ok to submit to the trunk?

2011-05-13  Vladimir Makarov<vmaka...@redhat.com>

         PR rtl-optimization/48971
         * ira.c (setup_pressure_classes): Don't check register move cost
         for classes with one registers.  Don't add pressure class if there
         is a pressure class with the same available hard registers.
         Check contains_reg_of_mode.  Fix a typo in collecting
         temp_hard_regset.  Ignore hard registers not belonging to a class.

It seems this broke cris-elf: PR49154.
Thanks for reporting this. It was a very sensitive change therefore I checked so many targets (about 10) but apparently not all of them. I'll look at the CRIS problem tomorrow.

Reply via email to