public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/102016] New: [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-2919-gfaf2b6bc527dff31
@ 2021-08-23  8:03 marxin at gcc dot gnu.org
  2021-08-23  8:05 ` [Bug target/102016] " pinskia at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-08-23  8:03 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 102016
           Summary: [12 Regression] ICE in extract_insn, at recog.c:2769
                    since r12-2919-gfaf2b6bc527dff31
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: crazylht at gmail dot com
  Target Milestone: ---
              Host: x86_64-linux-gnu

The following fails:

$ gcc /home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/pr101846-2.c
-Ofast -mavx512vl
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/pr101846-2.c: In
function ‘foo_wb_128’:
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/pr101846-2.c:81:1:
error: unrecognizable insn:
   81 | }
      | ^
(insn 17 7 18 2 (set (subreg:V16QI (reg:V8QI 90) 0)
        (vec_concat:V16QI (truncate:V8QI (subreg:V8HI (reg:V16QI 89) 0))
            (const_vector:V8QI [
                    (const_int 0 [0]) repeated x8
                ])))
"/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/pr101846-2.c":79:10
-1
     (expr_list:REG_DEAD (reg:V16QI 89)
        (nil)))
during RTL pass: ira
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/pr101846-2.c:81:1:
internal compiler error: in extract_insn, at recog.c:2769
0x71d22a _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        /home/marxin/Programming/gcc/gcc/rtl-error.c:108
0x71d24c _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        /home/marxin/Programming/gcc/gcc/rtl-error.c:116
0x71b3b7 extract_insn(rtx_insn*)
        /home/marxin/Programming/gcc/gcc/recog.c:2769
0xcc88d3 ira_remove_insn_scratches(rtx_insn*, bool, _IO_FILE*, rtx_def*
(*)(rtx_def*))
        /home/marxin/Programming/gcc/gcc/ira.c:5348
0xcc9afe remove_scratches
        /home/marxin/Programming/gcc/gcc/ira.c:5392
0xcc9afe ira
        /home/marxin/Programming/gcc/gcc/ira.c:5716
0xcc9afe execute
        /home/marxin/Programming/gcc/gcc/ira.c:6075
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.

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

* [Bug target/102016] [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-2919-gfaf2b6bc527dff31
  2021-08-23  8:03 [Bug target/102016] New: [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-2919-gfaf2b6bc527dff31 marxin at gcc dot gnu.org
@ 2021-08-23  8:05 ` pinskia at gcc dot gnu.org
  2021-08-23  8:58 ` crazylht at gmail dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-23  8:05 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
   Target Milestone|---                         |12.0

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

* [Bug target/102016] [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-2919-gfaf2b6bc527dff31
  2021-08-23  8:03 [Bug target/102016] New: [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-2919-gfaf2b6bc527dff31 marxin at gcc dot gnu.org
  2021-08-23  8:05 ` [Bug target/102016] " pinskia at gcc dot gnu.org
@ 2021-08-23  8:58 ` crazylht at gmail dot com
  2021-08-23  9:06 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: crazylht at gmail dot com @ 2021-08-23  8:58 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Hongtao.liu <crazylht at gmail dot com> ---
Confirmed, *avx512f_pshufb_truncv8hiv8qi_1 should be under condition
TARGET_AVX512BW.

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

* [Bug target/102016] [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-2919-gfaf2b6bc527dff31
  2021-08-23  8:03 [Bug target/102016] New: [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-2919-gfaf2b6bc527dff31 marxin at gcc dot gnu.org
  2021-08-23  8:05 ` [Bug target/102016] " pinskia at gcc dot gnu.org
  2021-08-23  8:58 ` crazylht at gmail dot com
@ 2021-08-23  9:06 ` rguenth at gcc dot gnu.org
  2021-08-23  9:52 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-08-23  9:06 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
             Target|                            |x86_64-*-* i?86-*-*

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

* [Bug target/102016] [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-2919-gfaf2b6bc527dff31
  2021-08-23  8:03 [Bug target/102016] New: [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-2919-gfaf2b6bc527dff31 marxin at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2021-08-23  9:06 ` rguenth at gcc dot gnu.org
@ 2021-08-23  9:52 ` cvs-commit at gcc dot gnu.org
  2021-08-23  9:52 ` crazylht at gmail dot com
  2021-09-18  9:45 ` pinskia at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-08-23  9:52 UTC (permalink / raw)
  To: gcc-bugs

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

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

https://gcc.gnu.org/g:70c7ab5c487f392e04907ce8f22eb454b8d3c4ff

commit r12-3070-g70c7ab5c487f392e04907ce8f22eb454b8d3c4ff
Author: liuhongt <hongtao.liu@intel.com>
Date:   Mon Aug 23 17:00:36 2021 +0800

    Fix ICE.

    gcc/ChangeLog:

            PR target/102016
            * config/i386/sse.md (*avx512f_pshufb_truncv8hiv8qi_1): Add
            TARGET_AVX512BW to condition.

    gcc/testsuite/ChangeLog:

            PR target/102016
            * gcc.target/i386/pr102016.c: New test.

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

* [Bug target/102016] [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-2919-gfaf2b6bc527dff31
  2021-08-23  8:03 [Bug target/102016] New: [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-2919-gfaf2b6bc527dff31 marxin at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2021-08-23  9:52 ` cvs-commit at gcc dot gnu.org
@ 2021-08-23  9:52 ` crazylht at gmail dot com
  2021-09-18  9:45 ` pinskia at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: crazylht at gmail dot com @ 2021-08-23  9:52 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Hongtao.liu <crazylht at gmail dot com> ---
Fixed in GCC12.

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

* [Bug target/102016] [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-2919-gfaf2b6bc527dff31
  2021-08-23  8:03 [Bug target/102016] New: [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-2919-gfaf2b6bc527dff31 marxin at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2021-08-23  9:52 ` crazylht at gmail dot com
@ 2021-09-18  9:45 ` pinskia at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-18  9:45 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
.

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

end of thread, other threads:[~2021-09-18  9:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-23  8:03 [Bug target/102016] New: [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-2919-gfaf2b6bc527dff31 marxin at gcc dot gnu.org
2021-08-23  8:05 ` [Bug target/102016] " pinskia at gcc dot gnu.org
2021-08-23  8:58 ` crazylht at gmail dot com
2021-08-23  9:06 ` rguenth at gcc dot gnu.org
2021-08-23  9:52 ` cvs-commit at gcc dot gnu.org
2021-08-23  9:52 ` crazylht at gmail dot com
2021-09-18  9:45 ` pinskia 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).