public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/106887] New: ICE in extract_insn, at recog.cc:2791 since r13-2111-g6910cad55ffc330d
@ 2022-09-08  8:42 marxin at gcc dot gnu.org
  2022-09-08  8:42 ` [Bug target/106887] " marxin at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-09-08  8:42 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 106887
           Summary: ICE in extract_insn, at recog.cc:2791 since
                    r13-2111-g6910cad55ffc330d
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: lingling.kong7 at gmail dot com
  Target Milestone: ---

The following crashes:

$ cat bf16.i
typedef __bf16 v16bf __attribute__((__vector_size__(32)));

void
vec_init_dup_v16bf() {
  __bf16 a1;
  (v16bf){a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1};
}

$ gcc bf16.i -c -mf16c
bf16.i: In function ‘vec_init_dup_v16bf’:
bf16.i:7:1: error: unrecognizable insn:
    7 | }
      | ^
(insn 11 10 12 2 (set (reg:V16BF 83)
        (vec_concat:V16BF (reg:V16QI 84)
            (reg:V16QI 84))) "bf16.i":6:10 -1
     (nil))
during RTL pass: vregs
bf16.i:7:1: internal compiler error: in extract_insn, at recog.cc:2791
0x77971c _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        /home/marxin/Programming/gcc/gcc/rtl-error.cc:108
0x77973e _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        /home/marxin/Programming/gcc/gcc/rtl-error.cc:116
0x77794b extract_insn(rtx_insn*)
        /home/marxin/Programming/gcc/gcc/recog.cc:2791
0xbf1315 instantiate_virtual_regs_in_insn
        /home/marxin/Programming/gcc/gcc/function.cc:1611
0xbf1315 instantiate_virtual_regs
        /home/marxin/Programming/gcc/gcc/function.cc:1985
0xbf1315 execute
        /home/marxin/Programming/gcc/gcc/function.cc:2034
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.

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

* [Bug target/106887] ICE in extract_insn, at recog.cc:2791 since r13-2111-g6910cad55ffc330d
  2022-09-08  8:42 [Bug target/106887] New: ICE in extract_insn, at recog.cc:2791 since r13-2111-g6910cad55ffc330d marxin at gcc dot gnu.org
@ 2022-09-08  8:42 ` marxin at gcc dot gnu.org
  2022-09-15  2:25 ` asolokha at gmx dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-09-08  8:42 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hjl at gcc dot gnu.org
   Last reconfirmed|                            |2022-09-08
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
               Host|                            |x86_64-linux-gnu
   Target Milestone|---                         |13.0

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

* [Bug target/106887] ICE in extract_insn, at recog.cc:2791 since r13-2111-g6910cad55ffc330d
  2022-09-08  8:42 [Bug target/106887] New: ICE in extract_insn, at recog.cc:2791 since r13-2111-g6910cad55ffc330d marxin at gcc dot gnu.org
  2022-09-08  8:42 ` [Bug target/106887] " marxin at gcc dot gnu.org
@ 2022-09-15  2:25 ` asolokha at gmx dot com
  2022-09-20  1:30 ` cvs-commit at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: asolokha at gmx dot com @ 2022-09-15  2:25 UTC (permalink / raw)
  To: gcc-bugs

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

Arseny Solokha <asolokha at gmx dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |asolokha at gmx dot com

--- Comment #1 from Arseny Solokha <asolokha at gmx dot com> ---
*** Bug 106942 has been marked as a duplicate of this bug. ***

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

* [Bug target/106887] ICE in extract_insn, at recog.cc:2791 since r13-2111-g6910cad55ffc330d
  2022-09-08  8:42 [Bug target/106887] New: ICE in extract_insn, at recog.cc:2791 since r13-2111-g6910cad55ffc330d marxin at gcc dot gnu.org
  2022-09-08  8:42 ` [Bug target/106887] " marxin at gcc dot gnu.org
  2022-09-15  2:25 ` asolokha at gmx dot com
@ 2022-09-20  1:30 ` cvs-commit at gcc dot gnu.org
  2023-04-26  6:56 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-09-20  1:30 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Kong Lingling <konglin1@gcc.gnu.org>:

https://gcc.gnu.org/g:78260b9a9c0bf5a4495320466e2cd1c259504905

commit r13-2725-g78260b9a9c0bf5a4495320466e2cd1c259504905
Author: konglin1 <lingling.kong@intel.com>
Date:   Fri Sep 16 15:59:19 2022 +0800

    i386: Fixed vec_init_dup_v16bf [PR106887]

    gcc/ChangeLog:

            PR target/106887
            * config/i386/i386-expand.cc (ix86_expand_vector_init_duplicate):
            Fixed V16BF mode case.

    gcc/testsuite/ChangeLog:

            PR target/106887
            * gcc.target/i386/vect-bfloat16-2c.c: New test.

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

* [Bug target/106887] ICE in extract_insn, at recog.cc:2791 since r13-2111-g6910cad55ffc330d
  2022-09-08  8:42 [Bug target/106887] New: ICE in extract_insn, at recog.cc:2791 since r13-2111-g6910cad55ffc330d marxin at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2022-09-20  1:30 ` cvs-commit at gcc dot gnu.org
@ 2023-04-26  6:56 ` rguenth at gcc dot gnu.org
  2023-05-11 14:11 ` jamborm at gcc dot gnu.org
  2023-05-30 13:12 ` jamborm at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-04-26  6:56 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|13.0                        |13.2

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 13.1 is being released, retargeting bugs to GCC 13.2.

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

* [Bug target/106887] ICE in extract_insn, at recog.cc:2791 since r13-2111-g6910cad55ffc330d
  2022-09-08  8:42 [Bug target/106887] New: ICE in extract_insn, at recog.cc:2791 since r13-2111-g6910cad55ffc330d marxin at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2023-04-26  6:56 ` rguenth at gcc dot gnu.org
@ 2023-05-11 14:11 ` jamborm at gcc dot gnu.org
  2023-05-30 13:12 ` jamborm at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: jamborm at gcc dot gnu.org @ 2023-05-11 14:11 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Martin Jambor <jamborm at gcc dot gnu.org> ---
I believe this has been fixed?

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

* [Bug target/106887] ICE in extract_insn, at recog.cc:2791 since r13-2111-g6910cad55ffc330d
  2022-09-08  8:42 [Bug target/106887] New: ICE in extract_insn, at recog.cc:2791 since r13-2111-g6910cad55ffc330d marxin at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2023-05-11 14:11 ` jamborm at gcc dot gnu.org
@ 2023-05-30 13:12 ` jamborm at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: jamborm at gcc dot gnu.org @ 2023-05-30 13:12 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Jambor <jamborm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
                 CC|                            |jamborm at gcc dot gnu.org
             Status|NEW                         |RESOLVED

--- Comment #5 from Martin Jambor <jamborm at gcc dot gnu.org> ---
This issue has been fixed (I cannot reproduce it with GCC 13 nor master).

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

end of thread, other threads:[~2023-05-30 13:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-08  8:42 [Bug target/106887] New: ICE in extract_insn, at recog.cc:2791 since r13-2111-g6910cad55ffc330d marxin at gcc dot gnu.org
2022-09-08  8:42 ` [Bug target/106887] " marxin at gcc dot gnu.org
2022-09-15  2:25 ` asolokha at gmx dot com
2022-09-20  1:30 ` cvs-commit at gcc dot gnu.org
2023-04-26  6:56 ` rguenth at gcc dot gnu.org
2023-05-11 14:11 ` jamborm at gcc dot gnu.org
2023-05-30 13:12 ` jamborm 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).