[Bug rtl-optimization/48971] [4.7 regression] ICE with -msoft-float -O2
vmakarov at redhat dot com
gcc-bugzilla@gcc.gnu.org
Fri May 13 15:57:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48971
--- Comment #4 from Vladimir Makarov <vmakarov at redhat dot com> 2011-05-13 15:34:39 UTC ---
(In reply to comment #3)
> (In reply to comment #2)
> > Vlad, this is an abort in setup_pressure_classes which apparently is totally
> > broken for sparc -msoft-float.
>
>
> I found the wrong code. It is pretty simple but I need to check a few
> platforms because the fix might affect other platform builds.
>
> I hope I'll send the patch at the end of the day.
SPARC ICC register presents in ALL_REGS class only which can not be a pressure
class. That is the reason for the problem. I also found a typo in the check
code (it collected hard registers of all non-pressure classes although it
should collect the pressure classes hard registers). I found more complication
with the check code in MIPS target. So it took more time than I did.
Currently I am testing the patch and submit it for approval soon.
More information about the Gcc-bugs
mailing list