This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
c/4937: ICE in reload_cse_simplify_operandscompiling net driver for kernel 2.4.15
- From: commie1 at MI6 dot localdomain
- To: gcc-gnats at gcc dot gnu dot org
- Cc: commie1 at gmx dot net
- Date: Sat, 24 Nov 2001 04:21:07 +0100
- Subject: c/4937: ICE in reload_cse_simplify_operandscompiling net driver for kernel 2.4.15
[Get raw message]
>Number: 4937
>Category: c
>Synopsis: ICE in reload_cse_simplify_operandscompiling net driver for kernel 2.4.15
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Fri Nov 23 19:26:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: commie1
>Release: 3.0.2
>Organization:
>Environment:
System: Linux MI6.localdomain 2.4.9-13 #1 Tue Oct 30 20:11:04 EST 2001 i686 lfs
Architecture: i686
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../configure --prefix=/usr --enable-shared --enable-languages=c,c++,objc,f77 --enable-threads=posix --disable-win32-registry
>Description:
compiling realtek8139 driver in kernel 2.4.15
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o 8139too.o 8139too.c
produced following error
8139too.c: In function `netdev_ethtool_ioctl':
8139too.c:2293: 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/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/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:2293: Internal compiler error in reload_cse_simplify_operands, at reload1.c:8364
Please submit a full bug report,
with preprocessed source if appropriate.
>How-To-Repeat:
compile realtek8139 (8139too.c) driver from linux kernel 2.4.15 with gcc-3.0.2
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: