internal compiler error - 8139too.c from linux kernel 2.4.12
>Submitter-Id: net
>Originator: Brian Herlihy
>Organization: Not very good
>Confidential: no
>Synopsis: internal compiler error - 8139too.c from linux kernel 2.4.12
>Severity: serious
>Priority: low
>Category: c
>Class: ice-on-legal-code
>Release: 3.0.2 20010922 (Debian prerelease) (Debian testing/unstable)
>Environment:
System: Linux btherl 2.4.10 #1 Mon Sep 24 14:21:48 EST 2001 i686 unknown
Architecture: i686
host: i386-pc-linux-gnu
build: i386-pc-linux-gnu
target: i386-pc-linux-gnu
configured with: ../src/configure -v --enable-languages=c,c++,java,f77,proto,objc --prefix=/usr --infodir=/share/info --mandir=/share/man --enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --enable-long-long --enable-nls --without-included-gettext --disable-checking --enable-threads=posix --enable-java-gc=boehm --with-cpp-install-dir=bin --enable-objc-gc i386-linux
>Description:
When compiling linux kernel with support for RTL-8139 network card,
gcc-3.0 reports an Internal Compiler Error.
>How-To-Repeat:
Configure 2.4.12 linux kernel with RTL-8139 (realtek) network card
support, and compile: It gives me this:
8139too.c: In function `netdev_ethtool_ioctl':
8139too.c:2419: Unrecognizable insn:
(insn/i 621 1064 1061 (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 -352 [0xfffffea0])) 0)
(mem/s:SI (plus:SI (reg:SI 0 eax [174])
(const_int 12 [0xc])) 0)
]
[
(asm_input:SI ("1"))
(asm_input:SI ("g"))
(asm_input:SI ("g"))
] ("/usr/src/linux-2.4.12/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 -352 [0xfffffea0])) 0)
(mem/s:SI (plus:SI (reg:SI 0 eax [174])
(const_int 12 [0xc])) 0)
]
[
(asm_input:SI ("1"))
(asm_input:SI ("g"))
(asm_input:SI ("g"))
] ("/usr/src/linux-2.4.12/include/asm/uaccess.h") 558))
(clobber (reg:QI 19 dirflag))
(clobber (reg:QI 18 fpsr))
(clobber (reg:QI 17 flags))
] ) -1 (insn_list 607 (insn_list 614 (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.
Here is other info about my system:
Pentium III 800, 384 MB ram, no known hardware problems. I have configured
the linux kernel for a Pentium III.
>Fix:
Use gcc 2.95, no problem :)
Reply to: