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

            Bug ID: 65986
           Summary: [6 Regression] ICE: in extract_constrain_insn, at
                    recog.c:2244 (insn does not satisfy its constraints)
                    with -mavx512ifma
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz
  Target Milestone: ---

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

Compiler output:
$ gcc -O -mavx512ifma testcase.c         
testcase.c: In function 'ufraw_test':
testcase.c:25:1: error: insn does not satisfy its constraints:
 }
 ^
(insn 110 109 104 7 (set (reg:V2DF 53 xmm16 [ D.2731 ])
        (vec_merge:V2DF (vec_duplicate:V2DF (float:DF (reg/v:SI 4 si [orig:100
iWidth ] [100])))
            (reg:V2DF 53 xmm16 [ D.2731 ])
            (const_int 1 [0x1]))) testcase.c:22 2195 {sse2_cvtsi2sd}
     (expr_list:REG_DEAD (reg/v:SI 4 si [orig:100 iWidth ] [100])
        (nil)))
testcase.c:25:1: internal compiler error: in extract_constrain_insn, at
recog.c:2244
0xae3e58 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        /mnt/svn/gcc-trunk/gcc/rtl-error.c:110
0xae3ec4 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        /mnt/svn/gcc-trunk/gcc/rtl-error.c:121
0xa9b23c extract_constrain_insn(rtx_insn*)
        /mnt/svn/gcc-trunk/gcc/recog.c:2244
0xaa97be copyprop_hardreg_forward_1
        /mnt/svn/gcc-trunk/gcc/regcprop.c:793
0xaaab2a execute
        /mnt/svn/gcc-trunk/gcc/regcprop.c:1289
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:
r222716 - ICE
5 r222437 - OK

Reply via email to