internat compiler error

Erik Meusel emeusel@mail.CS.Uni-Magdeburg.De
Wed Oct 10 05:42:00 GMT 2001


Hi,

compiling the new 2.4.11 kernel with gcc 3.0 resulted in an internal
compiler error. here is the minimal syntax causing the error:

gcc -D__KERNEL__ -I /home/scratch/linux-2.4.11/include/ -O2 -fomit-frame-pointer -c 8139too.c 

-O2 and -fomit-frame-pointer are important, without or with another
-O-Option, it doesn't happen.

the error is:
8139too.c: In function `netdev_ethtool_ioctl':
8139too.c:2419: Unrecognizable insn:
(insn/i 657 1135 1132 (parallel[ 
            (set (reg:SI 6 ebp)
                (asm_operands:SI ("addl %3,%1 ; sbbl %0,%0; cmpl %1,%4; sbbl $0,%0") ("=&r") 0[ 
                        (reg/v:SI 1 edx [166])
                        (mem:SI (plus:SI (reg/f:SI 6 ebp)
                                (const_int -380 [0xfffffe84])) 0)
                        (mem/s:SI (plus:SI (reg:SI 0 eax [174])
                                (const_int 12 [0xc])) 1)
                    ] 
                    [ 
                        (asm_input:SI ("1"))
                        (asm_input:SI ("g"))
                        (asm_input:SI ("g"))
                    ]  ("/home/scratch/linux-2.4.11/include/asm/uaccess.h") 558))
            (set (reg/v:SI 1 edx [166])
                (asm_operands:SI ("addl %3,%1 ; sbbl %0,%0; cmpl %1,%4; sbbl $0,%0") ("=r") 1[ 
                        (reg/v:SI 1 edx [166])
                        (mem:SI (plus:SI (reg/f:SI 6 ebp)
                                (const_int -380 [0xfffffe84])) 0)
                        (mem/s:SI (plus:SI (reg:SI 0 eax [174])
                                (const_int 12 [0xc])) 1)
                    ] 
                    [ 
                        (asm_input:SI ("1"))
                        (asm_input:SI ("g"))
                        (asm_input:SI ("g"))
                    ]  ("/home/scratch/linux-2.4.11/include/asm/uaccess.h") 558))
            (clobber (reg:QI 19 dirflag))
            (clobber (reg:QI 18 fpsr))
            (clobber (reg:QI 17 flags))
        ] ) -1 (insn_list 642 (insn_list 649 (nil)))
    (nil))
8139too.c:2419: Internal compiler error in reload_cse_simplify_operands, at reload1.c:8355
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.


my gcc version is:

gcc -v
Reading specs from /opt/gcc/lib/gcc-lib/i686-pc-linux-gnu/3.0/specs
Configured with: ./configure --prefix=/opt/gcc
Thread model: single
gcc version 3.0

I will attach the sourcecode and the preprocessed file. (in gzip format,
I'm sorry about this, but my mail wouldn't be accepted being larger than
400kB)

Regards,
Erik Meusel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 8139too.c.gz
Type: application/x-gzip
Size: 21653 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20011010/4c84c219/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 8139too.i.gz
Type: application/x-gzip
Size: 79169 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20011010/4c84c219/attachment-0001.bin>


More information about the Gcc-bugs mailing list