https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98833
Bug ID: 98833 Summary: [11 Regression] ICE in extract_insn, at recog.c:2769 since r11-6849-gee78c20e74d30284 Product: gcc Version: 11.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 Target Milestone: --- Host: x86_64-linux Target: x86_64-linux-gnu The following ICEs: $ cat xop.c int __attribute__((__vector_size__(4 * sizeof(int)))) * f5_p; void f5() { *f5_p = 0 == *f5_p; } $ gcc xop.c -mavx512vl -mxop -O -c xop.c: In function ‘f5’: xop.c:3:33: error: unrecognizable insn: 3 | void f5() { *f5_p = 0 == *f5_p; } | ^ (insn 14 15 11 2 (set (reg:V4SI 84 [ _4 ]) (eq:V4SI (mem:V4SI (reg/f:DI 82 [ f5_p.0_1 ]) [2 *f5_p.0_1+0 S16 A128]) (reg:V4SI 85))) "xop.c":3:23 -1 (expr_list:REG_DEAD (reg:V4SI 85) (nil))) during RTL pass: ira xop.c:3:33: internal compiler error: in extract_insn, at recog.c:2769 0x6fe7bf _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) /home/marxin/Programming/gcc/gcc/rtl-error.c:108 0x6fe7e1 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*) /home/marxin/Programming/gcc/gcc/rtl-error.c:116 0x6fc985 extract_insn(rtx_insn*) /home/marxin/Programming/gcc/gcc/recog.c:2769 0xc84915 ira_remove_insn_scratches(rtx_insn*, bool, _IO_FILE*, rtx_def* (*)(rtx_def*)) /home/marxin/Programming/gcc/gcc/ira.c:5243 0xc85b68 remove_scratches /home/marxin/Programming/gcc/gcc/ira.c:5287 0xc85b68 ira /home/marxin/Programming/gcc/gcc/ira.c:5602 0xc85b68 execute /home/marxin/Programming/gcc/gcc/ira.c:5964 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.