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

            Bug ID: 67378
           Summary: PowerPC unrecognizable insn (ICE in in extract_insn,
                    at recog.c:2297)
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: anton at samba dot org
  Target Milestone: ---

Created attachment 36262
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36262&action=edit
Testcase

csmith hit another ICE. This testcase is still quite complex even after
reducing it unfortunately.

# gcc -O3 -c testcase.i

testcase4.i: In function 'f3':
testcase4.i:23:1: error: unrecognizable insn:
 }
 ^
(insn 486 484 487 2 (set (mem/c:DI (plus:DI (reg/f:DI 1 1)
                (const_int 144 [0x90])) [7 %sfp+144 S8 A64])
        (plus:DI (reg:DI 8 8)
            (const_int 18 [0x12]))) testcase4.i:19 -1
     (nil))
testcase4.i:23:1: internal compiler error: in extract_insn, at recog.c:2297
0x107894b3 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        ../../gcc/gcc/rtl-error.c:109
0x10789517 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        ../../gcc/gcc/rtl-error.c:117
0x1074cde7 extract_insn(rtx_insn*)
        ../../gcc/gcc/recog.c:2297
0x1074ceaf extract_insn_cached(rtx_insn*)
        ../../gcc/gcc/recog.c:2188
0x104ad837 cleanup_subreg_operands(rtx_insn*)
        ../../gcc/gcc/final.c:3112
0x107862af reload(rtx_insn*, int)
        ../../gcc/gcc/reload1.c:1255
0x105fc99b do_reload
        ../../gcc/gcc/ira.c:5405
0x105fc99b execute
        ../../gcc/gcc/ira.c:5564

Reply via email to