[Bug other/63630] [5.0 Regression] ICE: in spill_failure, at reload1.c:2122. unable to find a register to spill in class 'POINTER_REGS'

gjl at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Mar 23 06:56:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63630

--- Comment #8 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #6)
> gcc-5 branch is closed; is this bug still valid for newer branches?

...and for such "spill fails" it's impossible to tell, at least for me, whether
they are distinct issues or duplictes of each other.

Even with newer versions of the compiler, some optimization issues might be
caused by too much spilling. At least that's what I'd infer from reading
.reload dumps.  So there is still issues with spilling in newer versions, even
if they are no ICEs.

Moreover, register selection if often not optimal.  The old lreg / greg was
much smarter in that regard.


More information about the Gcc-bugs mailing list