public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/111068] New: ICE: in extract_insn, at recog.cc:2791 unrecognizable insn with -ffloat-store -mavx10.1-512
@ 2023-08-18 18:17 zsojka at seznam dot cz
  2023-12-06 19:14 ` [Bug target/111068] " jakub at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: zsojka at seznam dot cz @ 2023-08-18 18:17 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 111068
           Summary: ICE: in extract_insn, at recog.cc:2791 unrecognizable
                    insn with -ffloat-store -mavx10.1-512
           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 55758
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55758&action=edit
reduced testcase

Compiler output:
$ x86_64-pc-linux-gnu-gcc -ffloat-store -mavx10.1-512 testcase.c 
testcase.c: In function 'foo':
testcase.c:8:1: error: unrecognizable insn:
    8 | }
      | ^
(insn 19 18 20 2 (set (reg:V8HF 90)
        (vec_concat:V8HF (mem:V4HF (plus:DI (reg/f:DI 77 virtual-stack-vars)
                    (const_int -32 [0xffffffffffffffe0])) [1  S8 A64])
            (reg:V4HF 93))) "testcase.c":7:5 -1
     (nil))
during RTL pass: vregs
testcase.c:8:1: internal compiler error: in extract_insn, at recog.cc:2791
0x7e6460 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        /repo/gcc-trunk/gcc/rtl-error.cc:108
0x7e64dd _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        /repo/gcc-trunk/gcc/rtl-error.cc:116
0x7d51cd extract_insn(rtx_insn*)
        /repo/gcc-trunk/gcc/recog.cc:2791
0x10d1c25 instantiate_virtual_regs_in_insn
        /repo/gcc-trunk/gcc/function.cc:1610
0x10d1c25 instantiate_virtual_regs
        /repo/gcc-trunk/gcc/function.cc:1983
0x10d1c25 execute
        /repo/gcc-trunk/gcc/function.cc:2030
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-3320-20230818093638-g7f8d730a563-checking-yes-rtl-df-extra-nobootstrap-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
--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 --disable-libstdcxx-pch
--prefix=/repo/gcc-trunk//binary-trunk-r14-3320-20230818093638-g7f8d730a563-checking-yes-rtl-df-extra-nobootstrap-amd64
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 14.0.0 20230818 (experimental) (GCC)

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

* [Bug target/111068] ICE: in extract_insn, at recog.cc:2791 unrecognizable insn with -ffloat-store -mavx10.1-512
  2023-08-18 18:17 [Bug target/111068] New: ICE: in extract_insn, at recog.cc:2791 unrecognizable insn with -ffloat-store -mavx10.1-512 zsojka at seznam dot cz
@ 2023-12-06 19:14 ` jakub at gcc dot gnu.org
  2023-12-07  8:50 ` cvs-commit at gcc dot gnu.org
  2023-12-07  9:08 ` liuhongt at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: jakub at gcc dot gnu.org @ 2023-12-06 19:14 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
This is impossible to bisect.
It ICEd until r14-3430, but r14-3431 removed -mavx10.1-512 support and when it
was readded in r14-5607 it doesn't ICE anymore.
Guess we should add the testcase to the testsuite.

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

* [Bug target/111068] ICE: in extract_insn, at recog.cc:2791 unrecognizable insn with -ffloat-store -mavx10.1-512
  2023-08-18 18:17 [Bug target/111068] New: ICE: in extract_insn, at recog.cc:2791 unrecognizable insn with -ffloat-store -mavx10.1-512 zsojka at seznam dot cz
  2023-12-06 19:14 ` [Bug target/111068] " jakub at gcc dot gnu.org
@ 2023-12-07  8:50 ` cvs-commit at gcc dot gnu.org
  2023-12-07  9:08 ` liuhongt at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-12-07  8:50 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <jakub@gcc.gnu.org>:

https://gcc.gnu.org/g:bf38c6374b5fb6a2afa05af26432f1fd1a120bc4

commit r14-6267-gbf38c6374b5fb6a2afa05af26432f1fd1a120bc4
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Thu Dec 7 09:48:57 2023 +0100

    testsuite: Add testcase for already fixed PR [PR111068]

    This one unfortunately can't be bisected, it ICEd until r14-3430
    inclusive, but r14-3431 removed -mavx10.1-512 support and when it
    was readded in r14-5607 it doesn't ICE anymore.

    I'm just committing the testcase so that it doesn't reappear.

    2023-12-07  Jakub Jelinek  <jakub@redhat.com>

            PR target/111068
            * gcc.target/i386/pr111068.c: New test.

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

* [Bug target/111068] ICE: in extract_insn, at recog.cc:2791 unrecognizable insn with -ffloat-store -mavx10.1-512
  2023-08-18 18:17 [Bug target/111068] New: ICE: in extract_insn, at recog.cc:2791 unrecognizable insn with -ffloat-store -mavx10.1-512 zsojka at seznam dot cz
  2023-12-06 19:14 ` [Bug target/111068] " jakub at gcc dot gnu.org
  2023-12-07  8:50 ` cvs-commit at gcc dot gnu.org
@ 2023-12-07  9:08 ` liuhongt at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: liuhongt at gcc dot gnu.org @ 2023-12-07  9:08 UTC (permalink / raw)
  To: gcc-bugs

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

Hongtao Liu <liuhongt at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |liuhongt at gcc dot gnu.org
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #3 from Hongtao Liu <liuhongt at gcc dot gnu.org> ---
Dup.

*** This bug has been marked as a duplicate of bug 111745 ***

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

end of thread, other threads:[~2023-12-07  9:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-18 18:17 [Bug target/111068] New: ICE: in extract_insn, at recog.cc:2791 unrecognizable insn with -ffloat-store -mavx10.1-512 zsojka at seznam dot cz
2023-12-06 19:14 ` [Bug target/111068] " jakub at gcc dot gnu.org
2023-12-07  8:50 ` cvs-commit at gcc dot gnu.org
2023-12-07  9:08 ` liuhongt 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).