[Bug rtl-optimization/79806] [5/6/7 Regression] ICE error: unable to find a register to spill (in assign_by_spills, at lra-assigns.c:1457)
bernds at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 8 18:12:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79806
Bernd Schmidt <bernds at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bernds at gcc dot gnu.org
--- Comment #1 from Bernd Schmidt <bernds at gcc dot gnu.org> ---
I'm tempted to classify this as unsupported. The testcase reserves edx, and the
alloca call includes a division operation which requires edx. Without
optimization, it remains until register allocation.
Global registers are somewhat fragile, and I think it's not worth it trying to
fix this. I'd put this at P4 at most.
More information about the Gcc-bugs
mailing list