-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

M. Edward (Ed) Borasky wrote:
> I also tried it on my Athlon Thunderbird. There were some errors, which
> I'm planning to investigate and post to the list. Without
> "enable-force-reg" and "enable-force-ll" it works fine.
> 
> I should also note that the oldest version of GCC currently available in
> the normal installs of Gentoo Linux is 3.3. Older versions are masked
> out by the standard profiles. I don't know when 4.2 is going to make it
> into Gentoo, but I will be testing it.
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’
./engine.c:463: error: this is the insn:
(insn:HI 17575 17573 17577 1898 (parallel [
            (set (reg/v:SI 2 cx [orig:724 u2 ] [724])
                (ashift:SI (reg/v:SI 2 cx [ spTOS ])
                    (subreg:QI (reg/v:SI 1350 [ spb ]) 0)))
            (clobber (reg:CC 17 flags))
        ]) 288 {*ashlsi3_1} (nil)
    (expr_list:REG_UNUSED (reg:CC 17 flags)
        (expr_list:REG_DEAD (reg/v:SI 2 cx [ spTOS ])
            (expr_list:REG_UNUSED (reg:CC 17 flags)
                (nil)))))
./engine.c:463: confused by earlier errors, bailing out
make[1]: *** [engine-fast.o] Error 1
make[1]: Leaving directory
`/home/znmeb/Forth/gforth/gforth-0.6.9-20070604/engine'
make: *** [engines-fast] Error 2

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

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


It looks to me like the compiler had its mind blown in the register
allocator, indicating a GCC problem rather than something in gForth.

I am probably not going to load gcc 4.2 on this system until Gentoo
declares it stable. I have my 64-bit box running fine with 4.2.0, but
the 32-bit one has given me a number of problems recently and I don't
want to risk it at the moment -- it's where I read my email. :)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG2hWm8fKMegVjSM8RAjGcAJ48gPz2tKj6yE0TytGI6+cAKuP3rgCdEsiT
WwaKSztmzOiEpN1IRScU/AU=
=ppK5
-----END PGP SIGNATURE-----

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

Reply via email to