public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/99454] New: internal compiler error: kernel module tg3 tg3_start_xmit
@ 2021-03-07 19:54 raj.khem at gmail dot com
  2021-03-07 19:57 ` [Bug c/99454] " raj.khem at gmail dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: raj.khem at gmail dot com @ 2021-03-07 19:54 UTC (permalink / raw)
  To: gcc-bugs

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)

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-05-30 20:34 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-07 19:54 [Bug c/99454] New: internal compiler error: kernel module tg3 tg3_start_xmit raj.khem at gmail dot com
2021-03-07 19:57 ` [Bug c/99454] " raj.khem at gmail dot com
2021-03-07 20:34 ` pinskia at gcc dot gnu.org
2021-03-08 19:19 ` raj.khem at gmail dot com
2021-03-08 22:23 ` vmakarov at gcc dot gnu.org
2021-03-09 14:06 ` cvs-commit at gcc dot gnu.org
2021-03-09 15:08 ` vmakarov at gcc dot gnu.org
2021-03-09 16:10 ` cvs-commit at gcc dot gnu.org
2021-05-30 20:33 ` [Bug rtl-optimization/99454] " pinskia at gcc dot gnu.org
2021-05-30 20:34 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).