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
* [Bug c/99454] internal compiler error: kernel module tg3 tg3_start_xmit 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 ` raj.khem at gmail dot com 2021-03-07 20:34 ` pinskia at gcc dot gnu.org ` (7 subsequent siblings) 8 siblings, 0 replies; 10+ messages in thread From: raj.khem at gmail dot com @ 2021-03-07 19:57 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99454 --- Comment #1 from Khem Raj <raj.khem at gmail dot com> --- btw. another data point when compiling with -Os it works but fails with -O1 or -O2 it was working ok with gcc snapshot from 10 days ago. ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c/99454] internal compiler error: kernel module tg3 tg3_start_xmit 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 ` (6 subsequent siblings) 8 siblings, 0 replies; 10+ messages in thread From: pinskia at gcc dot gnu.org @ 2021-03-07 20:34 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99454 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|UNCONFIRMED |RESOLVED --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Dup of bug 99422. *** This bug has been marked as a duplicate of bug 99422 *** ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c/99454] internal compiler error: kernel module tg3 tg3_start_xmit 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 ` (5 subsequent siblings) 8 siblings, 0 replies; 10+ messages in thread From: raj.khem at gmail dot com @ 2021-03-08 19:19 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99454 Khem Raj <raj.khem at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|DUPLICATE |--- Status|RESOLVED |UNCONFIRMED --- Comment #3 from Khem Raj <raj.khem at gmail dot com> --- This is not resolved with the fix for #99422 therefore I am re-opening. I tried with fresh build with head being https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=0d9a70ea3881c284b7689b691d54d047b55b486d which includes the fix for #99422 ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c/99454] internal compiler error: kernel module tg3 tg3_start_xmit 2021-03-07 19:54 [Bug c/99454] New: internal compiler error: kernel module tg3 tg3_start_xmit raj.khem at gmail dot com ` (2 preceding siblings ...) 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 ` (4 subsequent siblings) 8 siblings, 0 replies; 10+ messages in thread From: vmakarov at gcc dot gnu.org @ 2021-03-08 22:23 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99454 Vladimir Makarov <vmakarov at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vmakarov at gcc dot gnu.org --- Comment #4 from Vladimir Makarov <vmakarov at gcc dot gnu.org> --- I've reproduced it. Sorry for all the troubles. I'll try to fix it tomorrow. ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c/99454] internal compiler error: kernel module tg3 tg3_start_xmit 2021-03-07 19:54 [Bug c/99454] New: internal compiler error: kernel module tg3 tg3_start_xmit raj.khem at gmail dot com ` (3 preceding siblings ...) 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 ` (3 subsequent siblings) 8 siblings, 0 replies; 10+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2021-03-09 14:06 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99454 --- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Vladimir Makarov <vmakarov@gcc.gnu.org>: https://gcc.gnu.org/g:9725df0233b6fb6e761875968b3b8e9fd9f522ac commit r11-7578-g9725df0233b6fb6e761875968b3b8e9fd9f522ac Author: Vladimir N. Makarov <vmakarov@redhat.com> Date: Tue Mar 9 09:05:05 2021 -0500 [PR99454] LRA: Process 0..9 constraints in process_address_1 We need to process 0..9 constraints to fetch the right op constraint in the function. Also 0..9 constraints gives unknown class constraint class which can result in skipping address normalization for memory in asm. gcc/ChangeLog: PR target/99454 * lra-constraints.c (process_address_1): Process 0..9 constraints in process_address_1. ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c/99454] internal compiler error: kernel module tg3 tg3_start_xmit 2021-03-07 19:54 [Bug c/99454] New: internal compiler error: kernel module tg3 tg3_start_xmit raj.khem at gmail dot com ` (4 preceding siblings ...) 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 ` (2 subsequent siblings) 8 siblings, 0 replies; 10+ messages in thread From: vmakarov at gcc dot gnu.org @ 2021-03-09 15:08 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99454 --- Comment #6 from Vladimir Makarov <vmakarov at gcc dot gnu.org> --- The patch is not enough. It seems that there are other asms in the test which results in LRA crash. ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c/99454] internal compiler error: kernel module tg3 tg3_start_xmit 2021-03-07 19:54 [Bug c/99454] New: internal compiler error: kernel module tg3 tg3_start_xmit raj.khem at gmail dot com ` (5 preceding siblings ...) 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 8 siblings, 0 replies; 10+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2021-03-09 16:10 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99454 --- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Vladimir Makarov <vmakarov@gcc.gnu.org>: https://gcc.gnu.org/g:fb5d9e8361892a627f5ef9dda7f356f34000ed5b commit r11-7584-gfb5d9e8361892a627f5ef9dda7f356f34000ed5b Author: Vladimir N. Makarov <vmakarov@redhat.com> Date: Tue Mar 9 10:57:21 2021 -0500 [PR99454] LRA: Process separately 'g' and digital constraints > 9 in process_address_1 gcc/ChangeLog: PR target/99454 * lra-constraints.c (process_address_1): Process constraint 'g' separately and digital constraints containing more one digit. gcc/testsuite/ChangeLog: PR target/99454 * gcc.target/i386/pr99454.c: New. ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/99454] internal compiler error: kernel module tg3 tg3_start_xmit 2021-03-07 19:54 [Bug c/99454] New: internal compiler error: kernel module tg3 tg3_start_xmit raj.khem at gmail dot com ` (6 preceding siblings ...) 2021-03-09 16:10 ` cvs-commit at gcc dot gnu.org @ 2021-05-30 20:33 ` pinskia at gcc dot gnu.org 2021-05-30 20:34 ` pinskia at gcc dot gnu.org 8 siblings, 0 replies; 10+ messages in thread From: pinskia at gcc dot gnu.org @ 2021-05-30 20:33 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99454 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |11.0 --- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Fixed. ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/99454] internal compiler error: kernel module tg3 tg3_start_xmit 2021-03-07 19:54 [Bug c/99454] New: internal compiler error: kernel module tg3 tg3_start_xmit raj.khem at gmail dot com ` (7 preceding siblings ...) 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 8 siblings, 0 replies; 10+ messages in thread From: pinskia at gcc dot gnu.org @ 2021-05-30 20:34 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99454 --- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> --- *** Bug 99455 has been marked as a duplicate of this bug. *** ^ 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).