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

            Bug ID: 114184
           Summary: ICE: in extract_insn, at recog.cc:2812 (unrecognizable
                    insn ) with -Og -mavx512f and __builtin_memmove()
                    _BitInt(256)
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz
                CC: jakub at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu

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

Compiler output:
$ x86_64-pc-linux-gnu-gcc -Og -mavx512f testcase.c 
testcase.c: In function 'foo':
testcase.c:7:1: error: unrecognizable insn:
    7 | }
      | ^
(insn 5 2 6 2 (set (reg/v:XF 98 [ d ])
        (subreg:XF (const_vector:V32QI [
                    (const_int -107 [0xffffffffffffff95])
                    (const_int -120 [0xffffffffffffff88])
                    (const_int 89 [0x59])
                    (const_int 42 [0x2a])
                    (const_int 38 [0x26])
                    (const_int -16 [0xfffffffffffffff0])
                    (const_int -60 [0xffffffffffffffc4])
                    (const_int -62 [0xffffffffffffffc2])
                    (const_int 0 [0]) repeated x24
                ]) 0)) "testcase.c":6:3 -1
     (nil))
during RTL pass: vregs
testcase.c:7:1: internal compiler error: in extract_insn, at recog.cc:2812
0x807075 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        /repo/gcc-trunk/gcc/rtl-error.cc:108
0x8070f2 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        /repo/gcc-trunk/gcc/rtl-error.cc:116
0x7f5f61 extract_insn(rtx_insn*)
        /repo/gcc-trunk/gcc/recog.cc:2812
0x113331d instantiate_virtual_regs_in_insn
        /repo/gcc-trunk/gcc/function.cc:1611
0x113331d instantiate_virtual_regs
        /repo/gcc-trunk/gcc/function.cc:1994
0x113331d execute
        /repo/gcc-trunk/gcc/function.cc:2041
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

$ x86_64-pc-linux-gnu-gcc -v
Using built-in specs.
COLLECT_GCC=/repo/gcc-trunk/binary-latest-amd64/bin/x86_64-pc-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-r14-9247-20240229194557-gc6d4fb0062c-checking-yes-rtl-df-extra-nobootstrap-amd64/bin/../libexec/gcc/x86_64-pc-linux-gnu/14.0.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++
--enable-valgrind-annotations --disable-nls --enable-checking=yes,rtl,df,extra
--disable-bootstrap --with-cloog --with-ppl --with-isl
--build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu
--target=x86_64-pc-linux-gnu --with-ld=/usr/bin/x86_64-pc-linux-gnu-ld
--with-as=/usr/bin/x86_64-pc-linux-gnu-as --enable-libsanitizer
--disable-libstdcxx-pch
--prefix=/repo/gcc-trunk//binary-trunk-r14-9247-20240229194557-gc6d4fb0062c-checking-yes-rtl-df-extra-nobootstrap-amd64
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 14.0.1 20240301 (experimental) (GCC)

Reply via email to