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

            Bug ID: 87374
           Summary: ICE in extract_insn, at recog.c:2305
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: ktkachov at gcc dot gnu.org
  Target Milestone: ---

Following ICEs:

$ arm-linux-gnueabi-gcc
/home/marxin/Programming/gcc/gcc/testsuite/c-c++-common/ubsan/align-1.c
-mslow-flash-data -mword-relocations -mcpu=cortex-m7
/home/marxin/Programming/gcc/gcc/testsuite/c-c++-common/ubsan/align-1.c: In
function ‘main’:
/home/marxin/Programming/gcc/gcc/testsuite/c-c++-common/ubsan/align-1.c:41:1:
error: unrecognizable insn:
41 | }
   | ^
(insn 52 51 53 2 (set (reg:SI 3 r3)
        (lo_sum:SI (reg:SI 3 r3)
            (const:SI (plus:SI (symbol_ref:SI ("v") [flags 0x2] <var_decl
0x7ffff7fee240 v>)
                    (const_int 80 [0x50])))))
"/home/marxin/Programming/gcc/gcc/testsuite/c-c++-common/ubsan/align-1.c":37 -1
     (expr_list:REG_EQUAL (const:SI (plus:SI (symbol_ref:SI ("v") [flags 0x2]
<var_decl 0x7ffff7fee240 v>)
                (const_int 80 [0x50])))
        (nil)))
during RTL pass: mach
/home/marxin/Programming/gcc/gcc/testsuite/c-c++-common/ubsan/align-1.c:41:1:
internal compiler error: in extract_insn, at recog.c:2305
0x58f313 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/rtl-error.c:108
0x58f32f _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/rtl-error.c:116
0x58e844 extract_insn(rtx_insn*)
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/recog.c:2305
0x9accb1 extract_insn_cached(rtx_insn*)
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/recog.c:2194
0x7a1b82 cleanup_subreg_operands(rtx_insn*)
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/final.c:3314
0x9aa4cc split_insn
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/recog.c:2929
0x9aefb7 split_all_insns_noflow()
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/recog.c:3055
0xd00ffe arm_reorg
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/config/arm/arm.c:17660
0x9d7f39 execute
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-arm/build/gcc/reorg.c:3984

Reply via email to