public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/112394] New: ICE: in extract_constrain_insn, at recog.cc:2705 insn does not satisfy its constraints: {*vec_extractv2di_1} with -O -mavx512vbmi2 -mapxf -mno-sse4.2
@ 2023-11-05 19:08 zsojka at seznam dot cz
  2023-11-08  7:51 ` [Bug target/112394] " cvs-commit at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: zsojka at seznam dot cz @ 2023-11-05 19:08 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 112394
           Summary: ICE: in extract_constrain_insn, at recog.cc:2705 insn
                    does not satisfy its constraints: {*vec_extractv2di_1}
                    with -O -mavx512vbmi2 -mapxf -mno-sse4.2
           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
  Target Milestone: ---
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu

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

Compiler output:
$ x86_64-pc-linux-gnu-gcc -O -mavx512vbmi2 -mapxf -mno-sse4.2 testcase.c
testcase.c: In function 'foo':
testcase.c:20:1: error: insn does not satisfy its constraints:
   20 | }
      | ^
(insn 759 758 679 2 (set (reg:DI 77 r17 [ _27+8 ])
        (vec_select:DI (reg:V2DI 24 xmm4)
            (parallel [
                    (const_int 1 [0x1])
                ]))) "testcase.c":16:6 7407 {*vec_extractv2di_1}
     (nil))
during RTL pass: pro_and_epilogue
testcase.c:20:1: internal compiler error: in extract_constrain_insn, at
recog.cc:2705
0x7ee999 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        /repo/gcc-trunk/gcc/rtl-error.cc:108
0x7eea20 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        /repo/gcc-trunk/gcc/rtl-error.cc:118
0x7df135 extract_constrain_insn(rtx_insn*)
        /repo/gcc-trunk/gcc/recog.cc:2705
0x1424c75 copyprop_hardreg_forward_1
        /repo/gcc-trunk/gcc/regcprop.cc:836
0x1425e41 copyprop_hardreg_forward_bb_without_debug_insn(basic_block_def*)
        /repo/gcc-trunk/gcc/regcprop.cc:1235
0x1490b11 prepare_shrink_wrap
        /repo/gcc-trunk/gcc/shrink-wrap.cc:451
0x1490b11 try_shrink_wrapping(edge_def**, rtx_insn*)
        /repo/gcc-trunk/gcc/shrink-wrap.cc:674
0x110442b thread_prologue_and_epilogue_insns()
        /repo/gcc-trunk/gcc/function.cc:6046
0x1104d82 rest_of_handle_thread_prologue_and_epilogue
        /repo/gcc-trunk/gcc/function.cc:6543
0x1104d82 execute
        /repo/gcc-trunk/gcc/function.cc:6624
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-5128-20231105174125-g9acea4376fd-checking-yes-rtl-df-extra-amd64/bin/../libexec/gcc/x86_64-pc-linux-gnu/14.0.0/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
--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 --disable-libstdcxx-pch
--prefix=/repo/gcc-trunk//binary-trunk-r14-5128-20231105174125-g9acea4376fd-checking-yes-rtl-df-extra-amd64
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 14.0.0 20231105 (experimental) (GCC)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-12-06 19:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-05 19:08 [Bug target/112394] New: ICE: in extract_constrain_insn, at recog.cc:2705 insn does not satisfy its constraints: {*vec_extractv2di_1} with -O -mavx512vbmi2 -mapxf -mno-sse4.2 zsojka at seznam dot cz
2023-11-08  7:51 ` [Bug target/112394] " cvs-commit at gcc dot gnu.org
2023-11-08  7:52 ` wwwhhhyyy333 at gmail dot com
2023-11-15 10:19 ` sjames at gcc dot gnu.org
2023-12-06 19:06 ` jakub at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).