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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

Am 12.10.2007 um 18:46 schrieb Ian Lance Taylor:

Boris Boesler <baembel@xxxxxx> 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


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux