Looks like a problem with the machine description.  Your best bet would be to try a 
newer compiler and see if the problem still exist.  I doubt that anyone will support 
an old prerelease.

-----Original Message-----
From: Adam Thornton [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 19, 2003 11:13 AM
To: [EMAIL PROTECTED]
Subject: GCC bug?


I hate to drag the focus away from cigars and surrealism, but I got the
following error today:

For starters, gcc 2.95.4 prerelease, so there is certainly a newer one,
but this is what's in Debian/390:

debian2:/usr/local/src/xmame-0.72.1/src/unix# gcc -v
Reading specs from /usr/lib/gcc-lib/s390-linux/2.95.4/specs
gcc version 2.95.4 20011002 (Debian prerelease)

And here's the error, with
CFLAGS = -O2 -Wall -Wno-unused -funroll-loops -fstrength-reduce \
-fomit-frame-pointer -fsigned-char


[MESS] Compiling mess/machine/serial.c ...
mess/machine/serial.c: In function `xmodem_setup_packet':
mess/machine/serial.c:779: Internal compiler error:
mess/machine/serial.c:779: Unable to generate reloads for:
(insn 42 29 44 (parallel[
            (set (mem/s:QI (plus:SI (reg:SI 1 %r1)
                        (const_int 2 [0x2])) 0)
                (not:QI (mem/s:QI (plus:SI (reg:SI 3 %r3)
                            (const_int 7 [0x7])) 0)))
            (clobber (reg:CC 33 %cc))
        ] ) 253 {one_cmpqi2} (insn_list 14 (insn_list 17 (insn_list 16
(insn_lis
t:REG_DEP_ANTI 29 (nil)))))
    (expr_list:REG_DEAD (reg:SI 1 %r1)
        (expr_list:REG_DEAD (reg:SI 3 %r3)
            (expr_list:REG_UNUSED (reg:CC 33 %cc)
                (nil)))))
make: *** [xmess.obj/mess/machine/serial.o] Error 1


Changing -O2 to -O allows compilation to complete.

Any ideas?

Adam

Reply via email to