https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99454
Bug ID: 99454 Summary: internal compiler error: kernel module tg3 tg3_start_xmit Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: raj.khem at gmail dot com Target Milestone: --- Created attachment 50325 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50325&action=edit testcase Compiling kernel 5.10 for x86_64 is resulting in below ICE ======================= $ x86_64-yoe-linux-musl/x86_64-yoe-linux-musl-gcc -c a.c -O a.c: In function 'tg3_start_xmit': a.c:97234:1: error: unrecognizable insn: 97234 | } | ^ (insn 258 1293 1351 23 (parallel [ (set (reg:SI 0 ax [orig:542 sum ] [542]) (asm_operands:SI (" addl %1, %0 adcl %2, %0 adcl %3, %0 adcl $0, %0 ") ("=r") 0 [ (mem:SI (plus:DI (mem/c:DI (plus:DI (reg/f:DI 7 sp) (const_int 64 [0x40])) [555 %sfp+-32 S8 A64]) (const_int 16 [0x10])) [4 MEM[(struct iphdr *)_287].daddr+0 S4 A32]) (mem:SI (plus:DI (mem/c:DI (plus:DI (reg/f:DI 7 sp) (const_int 64 [0x40])) [555 %sfp+-32 S8 A64]) (const_int 12 [0xc])) [4 MEM[(struct iphdr *)_287].saddr+0 S4 A32]) (const_int 1536 [0x600]) (reg:SI 0 ax [orig:542 sum ] [542]) ] [ (asm_input:SI ("g") a.c:48913) (asm_input:SI ("g") a.c:48913) (asm_input:SI ("g") a.c:48913) (asm_input:SI ("0") a.c:48913) ] [] a.c:48913)) (clobber (reg:CC 17 flags)) ]) "a.c":48913:2 -1 (nil)) during RTL pass: postreload a.c:97234:1: internal compiler error: in extract_constrain_insn, at recog.c:2670 0x1564e08 internal_error(char const*, ...) ???:0 0x60277f fancy_abort(char const*, int, char const*) ???:0 0x5dddbe _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) ???:0 0x5dddda _fatal_insn_not_found(rtx_def const*, char const*, int, char const*) ???:0 =============== attached is the preprocessed source compiler version gcc version 11.0.1 20210307 (experimental) (GCC)