public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/97535] New: ICE when building xmrig on AArch64
@ 2020-10-23  0:54 icenowy at aosc dot io
  2020-10-23  2:06 ` [Bug rtl-optimization/97535] On AArch64 memcpy expansion cannot handle length > 32-bit signed int max icenowy at aosc dot io
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: icenowy at aosc dot io @ 2020-10-23  0:54 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97535

            Bug ID: 97535
           Summary: ICE when building xmrig on AArch64
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: icenowy at aosc dot io
  Target Milestone: ---

Created attachment 49425
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49425&action=edit
Preprocessed source file

When building xmrig on AArch64 with GCC 9.3.1, this file will trap cc1plus into
infinitely running.

I extracted the preprocessed source and then proceed with GCC master (commit
0a74a0e1a2d ("libstdc++: Fix custom clock in test")), and now it fails with
ICE:

/var/cache/acbs/build/acbs.6sxjqdht/xmrig-6.3.5/src/crypto/rx/RxDataset.cpp: In
member function 'void xmrig::RxDataset::setRaw(const void*)':
/var/cache/acbs/build/acbs.6sxjqdht/xmrig-6.3.5/src/crypto/rx/RxDataset.cpp:178:1:
error: unrecognizable insn:
(insn 80 79 81 4 (parallel [
            (set (reg:V4SI 162)
                (mem:V4SI (plus:DI (reg:DI 97)
                        (const_int 1024 [0x400])) [0 MEM <char[1:2181038080]>
[(void *)raw_7(D)]+1024 S16 A8]))
            (set (reg:V4SI 163)
                (mem:V4SI (plus:DI (reg:DI 97)
                        (const_int 1040 [0x410])) [0 MEM <char[1:2181038080]>
[(void *)raw_7(D)]+1040 S16 A8]))
        ])
"/var/cache/acbs/build/acbs.6sxjqdht/xmrig-6.3.5/src/crypto/rx/RxDataset.cpp":177:11
-1
     (nil))
during RTL pass: vregs
/var/cache/acbs/build/acbs.6sxjqdht/xmrig-6.3.5/src/crypto/rx/RxDataset.cpp:178:1:
internal compiler error: in extract_insn, at recog.c:2295
0x82f9e8 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        /home/icenowy/git-repos/gcc/gcc/rtl-error.c:108
0x82fa04 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        /home/icenowy/git-repos/gcc/gcc/rtl-error.c:116
0x82def9 extract_insn(rtx_insn*)
        /home/icenowy/git-repos/gcc/gcc/recog.c:2295
0xe433b7 instantiate_virtual_regs_in_insn
        /home/icenowy/git-repos/gcc/gcc/function.c:1656
0xe433b7 instantiate_virtual_regs
        /home/icenowy/git-repos/gcc/gcc/function.c:1977
0xe433b7 execute
        /home/icenowy/git-repos/gcc/gcc/function.c:2026

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

end of thread, other threads:[~2020-11-17 12:55 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-23  0:54 [Bug rtl-optimization/97535] New: ICE when building xmrig on AArch64 icenowy at aosc dot io
2020-10-23  2:06 ` [Bug rtl-optimization/97535] On AArch64 memcpy expansion cannot handle length > 32-bit signed int max icenowy at aosc dot io
2020-10-23  7:47 ` marxin at gcc dot gnu.org
2020-10-23  8:07 ` icenowy at aosc dot io
2020-10-23  9:42 ` [Bug rtl-optimization/97535] [9/10/11 Regression] " tnfchris at gcc dot gnu.org
2020-10-27 16:59 ` [Bug target/97535] " cvs-commit at gcc dot gnu.org
2020-10-27 17:15 ` [Bug target/97535] [9/10 " tnfchris at gcc dot gnu.org
2020-10-28 19:14 ` cvs-commit at gcc dot gnu.org
2020-11-09 15:02 ` rguenth at gcc dot gnu.org
2020-11-17 10:20 ` cvs-commit at gcc dot gnu.org
2020-11-17 10:25 ` cvs-commit at gcc dot gnu.org
2020-11-17 10:25 ` cvs-commit at gcc dot gnu.org
2020-11-17 10:26 ` cvs-commit at gcc dot gnu.org
2020-11-17 10:31 ` tnfchris at gcc dot gnu.org
2020-11-17 10:48 ` rguenther at suse dot de
2020-11-17 10:50 ` tnfchris at gcc dot gnu.org
2020-11-17 10:50 ` tnfchris at gcc dot gnu.org
2020-11-17 12:53 ` cvs-commit at gcc dot gnu.org
2020-11-17 12:55 ` tnfchris 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).