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

            Bug ID: 120807
           Summary: [15/16 Regression] LoongArch: "ICE: unrecognizable
                    insn" building box64
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: xry111 at gcc dot gnu.org
  Target Milestone: ---

$ /usr/bin/loongarch64-linux-gnu-gcc -DCONFIG_64BIT -DDYNAREC -DLA64
-DTEST_INTERPRETER -I/src/dynarec/la64
-I/home/runner/work/box64/box64/src/include -I/home/runner/work/box64/box64/src
-I/home/runner/work/box64/box64/src/wrapped/generated -O3 -DNDEBUG  
-Wno-pointer-type-mismatch -std=gnu11 -funwind-tables -fvisibility=hidden -pipe
-march=loongarch64 -MD -MT
CMakeFiles/test_interpreter.dir/src/emu/x64runf20f.c.o -MF
CMakeFiles/test_interpreter.dir/src/emu/x64runf20f.c.o.d -o
CMakeFiles/test_interpreter.dir/src/emu/x64runf20f.c.o -c
/home/runner/work/box64/box64/src/emu/x64runf20f.c
/home/runner/work/box64/box64/src/emu/x64runf20f.c: In function ‘TestF20F’:
/home/runner/work/box64/box64/src/emu/x64runf20f.c:480:1: error: unrecognizable
insn:
  480 | }
      | ^
(insn 3341 3340 557 54 (set (reg:SI 841)
        (unspec:SI [
                (reg:QI 1681)
                (subreg:SI (subreg:DI (reg:SI 843 [ opgd_901->dword[0] ]) 0) 0)
            ] UNSPEC_CRCC)) -1
     (expr_list:REG_DEAD (reg:QI 1681)
        (expr_list:REG_DEAD (reg:SI 843 [ opgd_901->dword[0] ])
            (nil))))
during RTL pass: sched1
/home/runner/work/box64/box64/src/emu/x64runf20f.c:480:1: internal compiler
error: in extract_insn, at recog.cc:2882
0x1ba0fe5 diagnostic_context::diagnostic_impl(rich_location*,
diagnostic_metadata const*, diagnostic_option_id, char const*, __va_list_tag
(*) [1], diagnostic_t)
        ???:0
0x1bb352f internal_error(char const*, ...)
        ???:0
0x68ea81 fancy_abort(char const*, int, char const*)
        ???:0
0x66a616 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        ???:0
0x66a632 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        ???:0
0xbac672 ira_set_pseudo_classes(bool, _IO_FILE*)
        ???:0
0x19e3df1 sched_init()
        ???:0
0x19e7a1c haifa_sched_init()
        ???:0
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

Reply via email to