This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Register Allocator Problem (was: insn does not satisfy its constraints)
Boris Boesler <baembel@gmx.de> writes:
> I have a problem with the register allocator:
> 1) can't spill
> 2) places addresses in data-register instead of address-register
>
> I checked the target macros for registers (section 15.7) and
> register classes (section 15.8) and I dare to say that everything is
> set as it should be. But I get the following error during compiling
> some libs:
> ../../gcc-4.2.1/gcc/libgcc2.c: In function '__addvsi3':
> ../../gcc-4.2.1/gcc/libgcc2.c:93: error: unable to find a register to
> spill in class 'Rx_REGS'
Welcome to reload.
http://gcc.gnu.org/wiki/reload
There is no simple answer to why this is happening.
Ian