https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98079
Bug ID: 98079 Summary: [11 Regression] ICE in extract_insn, at recog.c:2315 since r11-5429-gacdf30d66cac1175 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: ubizjak at gmail dot com Target Milestone: --- Host: x86_64-linux-gnu Target: x86_64-linux-gnu I see the following ICE since r11-5429-gacdf30d66cac1175: $ gcc /home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/torture/pr75964.c -march=pentium3 -O2 -m32 -c /home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/torture/pr75964.c: In function ‘abs8’: /home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/torture/pr75964.c:15:1: error: unrecognizable insn: 15 | } | ^ (insn 27 26 28 2 (set (reg/v:QI 84 [ x ]) (if_then_else:QI (ge (reg:CCGOC 17 flags) (const_int 0 [0])) (reg:QI 88) (reg:QI 87))) "/home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/torture/pr75964.c":9:7 -1 (expr_list:REG_DEAD (reg:QI 88) (expr_list:REG_DEAD (reg:QI 87) (expr_list:REG_DEAD (reg:CCGOC 17 flags) (nil))))) during RTL pass: ira /home/marxin/Programming/gcc/gcc/testsuite/gcc.dg/torture/pr75964.c:15:1: internal compiler error: in extract_insn, at recog.c:2315 0x6cedfd _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) /home/marxin/Programming/gcc/gcc/rtl-error.c:108 0x6cee19 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*) /home/marxin/Programming/gcc/gcc/rtl-error.c:116 0x6cd3e0 extract_insn(rtx_insn*) /home/marxin/Programming/gcc/gcc/recog.c:2315 0xc0c62f ira_remove_insn_scratches(rtx_insn*, bool, _IO_FILE*, rtx_def* (*)(rtx_def*)) /home/marxin/Programming/gcc/gcc/ira.c:5234 0xc0d6bd remove_scratches /home/marxin/Programming/gcc/gcc/ira.c:5278 0xc0d6bd ira /home/marxin/Programming/gcc/gcc/ira.c:5583 0xc0d6bd execute /home/marxin/Programming/gcc/gcc/ira.c:5945 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.