This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]