"M. Edward (Ed) Borasky" wrote:
> OK ... I'm back to testing this on my systems. As I noted before, on the
> 32-bit system (Athlon TBird) it compiles fine without the
> "-enable-force-reg" but crashes with it. Details:
> 
> ./engine.c:463: error: unable to find a register to spill in class ‘CREG’

This sounds like it does not compile fine.

Actually, this is a typical error I see when using --enable-force-reg,
if the explicit register allocations are too restrictive for the
compiler.  If you get this with --enable-force-reg, I don't consider
this a gcc bug.

> $ gcc --version
> gcc (GCC) 4.1.2 (Gentoo 4.1.2 p1.0.1)

Ok, I have tested on Debian (32-bit) with:

gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)

It compiles fine, and gforth, gforth-itc, and gforth-ditc run fine,
but I found and fixed a bug that made gforth-fast hang (now
gforth-fast runs fine there, too).  I don't know if this fixes your
problem.

> $ set|grep FLAGS
> CFLAGS='-march=athlon-tbird -O2 -pipe'
> CXXFLAGS='-march=athlon-tbird -O2 -pipe'
> FFLAGS='-march=athlon-tbird -O2 -pipe'

I have also tested after configuring with these settings in my
environment, and it works fine.

I repeated the same with "./configure --enable-force-reg" and it also
works fine.

- anton


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to