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

            Bug ID: 106459
           Summary: Compiler crashing for loongarch64-linux-gnu on windows
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: unlvsur at live dot com
  Target Milestone: ---

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

D:\hg\fast_io\.sha512>loongarch64-linux-gnu-g++ -S sha512.cc -Ofast -std=c++23
-I../include
In file included from ../include/fast_io_crypto/hash/sha512.h:183,
                 from ../include/fast_io_crypto/hash/impl.h:6,
                 from ../include/fast_io_crypto.h:25,
                 from sha512.cc:1:
../include/fast_io_crypto/hash/sha512_scalar.h: In function 'void
fast_io::details::sha512::sha512_runtime_routine(uint_least64_t*, const
std::byte*, const std::byte*)':
../include/fast_io_crypto/hash/sha512_scalar.h:99:1: error: unrecognizable
insn:
   99 | }
      | ^
(insn 30 29 31 4 (set (reg:DI 1071)
        (ior:DI (zero_extend:DI (subreg:SI (reg:DI 1071) 0))
            (const_int 2867079648641024 [0xa2f9800000000])))
"../include/fast_io_crypto/hash/sha512.h":90:5 -1
     (nil))
during RTL pass: vregs
../include/fast_io_crypto/hash/sha512_scalar.h:99:1: internal compiler error:
in extract_insn, at recog.cc:2791
libbacktrace could not find executable to open
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
See <https://gcc.gnu.org/bugs/> for instructions.

D:\hg\fast_io\.sha512>loongarch64-linux-gnu-g++ -S sha512.cc -Ofast -std=c++23
-I../include -freport-bug
In file included from ../include/fast_io_crypto/hash/sha512.h:183,
                 from ../include/fast_io_crypto/hash/impl.h:6,
                 from ../include/fast_io_crypto.h:25,
                 from sha512.cc:1:
../include/fast_io_crypto/hash/sha512_scalar.h: In function 'void
fast_io::details::sha512::sha512_runtime_routine(uint_least64_t*, const
std::byte*, const std::byte*)':
../include/fast_io_crypto/hash/sha512_scalar.h:99:1: error: unrecognizable
insn:
   99 | }
      | ^
(insn 30 29 31 4 (set (reg:DI 1071)
        (ior:DI (zero_extend:DI (subreg:SI (reg:DI 1071) 0))
            (const_int 2867079648641024 [0xa2f9800000000])))
"../include/fast_io_crypto/hash/sha512.h":90:5 -1
     (nil))
during RTL pass: vregs
../include/fast_io_crypto/hash/sha512_scalar.h:99:1: internal compiler error:
in extract_insn, at recog.cc:2791
libbacktrace could not find executable to open
Please submit a full bug report, with preprocessed source.
See <https://gcc.gnu.org/bugs/> for instructions.
loongarch64-linux-gnu-g++: fatal error: cannot execute
'd:/x86_64-windows-gnu/loongarch64-linux-gnu/bin/../libexec/gcc/loongarch64-linux-gnu/13.0.0/cc1plus.exe':
open temporary output file
compilation terminated.

Reply via email to