https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101549
Bug ID: 101549 Summary: [12 Regression] internal compiler error: in extract_insn, at recog.c:2769 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com Target Milestone: --- [hjl@gnu-cfl-2 gcc]$ cat /tmp/x.c #include <immintrin.h> unsigned int test_mm_crc32_u8(unsigned int CRC, unsigned char V) { return _mm_crc32_u8(CRC, V); } [hjl@gnu-cfl-2 gcc]$ ./xgcc -B./ -S /tmp/x.c -msse4 -mno-crc32 /tmp/x.c: In function ‘test_mm_crc32_u8’: /tmp/x.c:7:1: error: unrecognizable insn: 7 | } | ^ (insn 16 15 22 2 (set (reg:SI 84 [ D.24970 ]) (unspec:SI [ (reg:SI 89) (subreg:QI (reg:SI 90) 0) ] UNSPEC_CRC32)) "./include/smmintrin.h":829:10 -1 (nil)) during RTL pass: vregs /tmp/x.c:7:1: internal compiler error: in extract_insn, at recog.c:2769 0x125686e _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) /export/gnu/import/git/gitlab/x86-gcc/gcc/rtl-error.c:108 0x12568af _fatal_insn_not_found(rtx_def const*, char const*, int, char const*) /export/gnu/import/git/gitlab/x86-gcc/gcc/rtl-error.c:116 0x11fd163 extract_insn(rtx_insn*) /export/gnu/import/git/gitlab/x86-gcc/gcc/recog.c:2769 0xe5d4cf instantiate_virtual_regs_in_insn /export/gnu/import/git/gitlab/x86-gcc/gcc/function.c:1611 0xe5eb4c instantiate_virtual_regs /export/gnu/import/git/gitlab/x86-gcc/gcc/function.c:1985 0xe5ec1c execute /export/gnu/import/git/gitlab/x86-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. [hjl@gnu-cfl-2 gcc]$