public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/103151] New: ICE in extract_insn, at recog.c:2769 since r12-3407-g9e2a82e1f9d2c4af
@ 2021-11-09  8:23 marxin at gcc dot gnu.org
  2021-11-09  8:24 ` [Bug target/103151] " marxin at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-11-09  8:23 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 103151
           Summary: ICE in extract_insn, at recog.c:2769 since
                    r12-3407-g9e2a82e1f9d2c4af
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          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, hjl at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-linux-gnu

The following fails:

$ cat fp16.c
#include <immintrin.h>
__m256h f11() {
  int i;
  __m256h z;
  z[i] = i;
  return z;
}

$ gcc fp16.c -c -O3 -mavx512fp16 -mxop -c
cat fp16.c: In function ‘f11’:
fp16.c:7:1: error: unrecognizable insn:
    7 | }
      | ^
(insn 11 10 12 2 (set (reg:V16HF 89)
        (if_then_else:V16HF (subreg:V16HF (reg:V16HI 94) 0)
            (reg:V16HF 90)
            (reg:V16HF 89))) "fp16.c":5:8 -1
     (nil))
during RTL pass: vregs
fp16.c:7:1: internal compiler error: in extract_insn, at recog.c:2769
0x755186 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        /home/marxin/Programming/gcc/gcc/rtl-error.c:108
0x7551a8 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        /home/marxin/Programming/gcc/gcc/rtl-error.c:116
0x753313 extract_insn(rtx_insn*)
        /home/marxin/Programming/gcc/gcc/recog.c:2769
0xbbe603 instantiate_virtual_regs_in_insn
        /home/marxin/Programming/gcc/gcc/function.c:1611
0xbbe603 instantiate_virtual_regs
        /home/marxin/Programming/gcc/gcc/function.c:1985
0xbbe603 execute
        /home/marxin/Programming/gcc/gcc/function.c:2034
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] 8+ messages in thread

end of thread, other threads:[~2021-11-11  4:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-09  8:23 [Bug target/103151] New: ICE in extract_insn, at recog.c:2769 since r12-3407-g9e2a82e1f9d2c4af marxin at gcc dot gnu.org
2021-11-09  8:24 ` [Bug target/103151] " marxin at gcc dot gnu.org
2021-11-09  8:50 ` [Bug target/103151] ICE in extract_insn with __m256h and variable vec insert and -O1 -mavx512fp16 -mxop " crazylht at gmail dot com
2021-11-09 11:54 ` rguenth at gcc dot gnu.org
2021-11-10  5:05 ` crazylht at gmail dot com
2021-11-11  1:26 ` cvs-commit at gcc dot gnu.org
2021-11-11  1:27 ` crazylht at gmail dot com
2021-11-11  4:04 ` 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).