public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/94942] New: [10/11 Regression] ICE: in extract_constrain_insn, at recog.c:2195 (insn does not satisfy its constraints) with -O -flive-range-shrinkage -ftree-vrp -mavx512vl
@ 2020-05-04 10:54 zsojka at seznam dot cz
  2020-05-04 11:26 ` [Bug target/94942] " jakub at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: zsojka at seznam dot cz @ 2020-05-04 10:54 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 94942
           Summary: [10/11 Regression] ICE: in extract_constrain_insn, at
                    recog.c:2195 (insn does not satisfy its constraints)
                    with -O -flive-range-shrinkage -ftree-vrp -mavx512vl
           Product: gcc
           Version: 11.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

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

Compiler output:
$ x86_64-pc-linux-gnu-gcc -O -flive-range-shrinkage -ftree-vrp -mavx512vl
testcase.c
testcase.c: In function 'foo':
testcase.c:16:31: warning: division by zero [-Wdiv-by-zero]
   16 |   W v = (k | k >> m + (W){4}) % 0;
      |                               ^
testcase.c:20:1: error: insn does not satisfy its constraints:
   20 | }
      | ^
(insn 365 309 359 2 (set (reg:V8HI 20 xmm0 [511])
        (vec_duplicate:V8HI (reg:HI 52 xmm16))) "testcase.c":15:5 5054
{*vec_dupv8hi}
     (expr_list:REG_DEAD (reg:HI 52 xmm16)
        (nil)))
during RTL pass: cprop_hardreg
testcase.c:20:1: internal compiler error: in extract_constrain_insn, at
recog.c:2195
0x6d467c _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        /repo/gcc-trunk/gcc/rtl-error.c:108
0x6d4709 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        /repo/gcc-trunk/gcc/rtl-error.c:118
0x6c3d6c extract_constrain_insn(rtx_insn*)
        /repo/gcc-trunk/gcc/recog.c:2195
0xf4aadc copyprop_hardreg_forward_1
        /repo/gcc-trunk/gcc/regcprop.c:802
0xf4bd4e execute
        /repo/gcc-trunk/gcc/regcprop.c:1367
Please submit a full bug report,
with preprocessed source if appropriate.
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-r11-36-20200504110332-g6b5c7ee0df6-checking-yes-rtl-df-extra-amd64/bin/../libexec/gcc/x86_64-pc-linux-gnu/11.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-r11-36-20200504110332-g6b5c7ee0df6-checking-yes-rtl-df-extra-amd64
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.0.0 20200504 (experimental) (GCC)

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

end of thread, other threads:[~2020-05-07 13:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-04 10:54 [Bug target/94942] New: [10/11 Regression] ICE: in extract_constrain_insn, at recog.c:2195 (insn does not satisfy its constraints) with -O -flive-range-shrinkage -ftree-vrp -mavx512vl zsojka at seznam dot cz
2020-05-04 11:26 ` [Bug target/94942] " jakub at gcc dot gnu.org
2020-05-04 11:56 ` jakub at gcc dot gnu.org
2020-05-05  9:35 ` cvs-commit at gcc dot gnu.org
2020-05-05  9:38 ` [Bug target/94942] [10 " jakub at gcc dot gnu.org
2020-05-07 11:56 ` jakub at gcc dot gnu.org
2020-05-07 13:27 ` cvs-commit at gcc dot gnu.org
2020-05-07 13:33 ` 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).