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

            Bug ID: 64393
           Summary: ICE: in extract_insn, at recog.c:2327 (unrecognizable
                    insn) with -mavx512vbmi
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz

Created attachment 34326
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34326&action=edit
reduced testcase

Compiler output:
$ gcc -O -mavx512vbmi testcase.c 
testcase.c: In function 'foo':
testcase.c:9:1: error: unrecognizable insn:
 }
 ^
(insn 63 60 61 4 (set (reg:SI 69 k0 [orig:124 D.2715 ] [124])
        (xor:SI (reg:SI 70 k1 [orig:105 ivtmp.6 ] [105])
            (reg:SI 71 k2 [orig:111 ivtmp.9 ] [111]))) testcase.c:7 -1
     (nil))
testcase.c:9:1: internal compiler error: in extract_insn, at recog.c:2327
0xbd9d78 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        /mnt/svn/gcc-trunk/gcc/rtl-error.c:110
0xbd9e08 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        /mnt/svn/gcc-trunk/gcc/rtl-error.c:118
0xb903b8 extract_insn(rtx_insn*)
        /mnt/svn/gcc-trunk/gcc/recog.c:2327
0xb90467 extract_insn_cached(rtx_insn*)
        /mnt/svn/gcc-trunk/gcc/recog.c:2218
0x924569 cleanup_subreg_operands(rtx_insn*)
        /mnt/svn/gcc-trunk/gcc/final.c:3124
0xb8be79 split_insn
        /mnt/svn/gcc-trunk/gcc/recog.c:2937
0xb9406d split_all_insns()
        /mnt/svn/gcc-trunk/gcc/recog.c:2991
0xb94188 rest_of_handle_split_after_reload
        /mnt/svn/gcc-trunk/gcc/recog.c:3938
0xb94188 execute
        /mnt/svn/gcc-trunk/gcc/recog.c:3967
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revisions:
r219043 - ICE

Reply via email to