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

            Bug ID: 97606
           Summary: internal compiler error: in extract_constrain_insn, at
                    recog.c:2196
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

Created attachment 49455
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49455&action=edit
C++ source code

The attached C++ code, with compiler flags  -c -w -std=c++14 -mavx512cd -O1,
on c86_64, does this:

bug662.cc: In member function ‘virtual void v::t(void*, const D*, const D*,
void
*, unsigned int, unsigned int, unsigned int) const’:
bug662.cc:61:3: error: insn does not satisfy its constraints:
   61 |   }
      |   ^
(insn 22 21 23 2 (set (reg:V8DI 20 xmm0 [108])
        (plus:V8DI (reg:V8DI 20 xmm0 [orig:104 ba ] [104])
            (vec_duplicate:V8DI (mem/f:DI (mem/c:DI (plus:DI (reg/f:DI 6 bp)
                            (const_int -56 [0xffffffffffffffc8])) [14 %sfp+-8
S8
 A64]) [1 p2_14(D)->ac+0 S8 A64])))) "bug662.cc":58:12 3497 {*addv8di3}
     (expr_list:REG_EQUIV (mem/c:V8DI (symbol_ref:DI ("aq") [flags 0x2]
<var_dec
l 0x7f8384a75510 aq>) [10 aq+0 S64 A512])
        (nil)))
during RTL pass: reload
bug662.cc:61:3: internal compiler error: in extract_constrain_insn, at
recog.c:2
196
0xec00e6 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        ../../trunk.git/gcc/rtl-error.c:108
0xec0115 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        ../../trunk.git/gcc/rtl-error.c:118
0xe8ac69 extract_constrain_insn(rtx_insn*)
        ../../trunk.git/gcc/recog.c:2196

The bug first seems to appear sometime between 20201021 and 20201022.

Reply via email to