Register Allocator Problem (was: insn does not satisfy its constraints)

Boris Boesler baembel@gmx.de
Mon Nov 12 16:46:00 GMT 2007


Hi!

Am 12.10.2007 um 18:46 schrieb Ian Lance Taylor:

> Boris Boesler <baembel@gmx.de> writes:
>
>> I have a problem with the register allocator:
> Welcome to reload.
> http://gcc.gnu.org/wiki/reload

  <cite>Reload is the GCC equivalent of Satan.</cite> Oh, yeah,  
great! ;-)

  The "bug" was:

enum { REG1, REG2, .. , REG96, num_first_pseudo_register };
#define FIRST_PSEUDO_REGISTER	num_first_pseudo_register

  This code is compiled by gcc, but the generated compiler fails  
during register allocation.

The correct code is:
#define FIRST_PSEUDO_REGISTER	96

  This is a little bit unexpected.

Boris



More information about the Gcc-help mailing list