https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98086
Bug ID: 98086
Summary: [9/10/11 Regression] ICE in extract_insn, at
recog.c:2315
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: [email protected]
Target Milestone: ---
Started with r6 :
$ cat z1.c
struct S {
int a, b, c, d;
} x;
void f ()
{
asm ("" : "=@ccc"(x));
}
$ gcc-5 -c z1.c
z1.c: In function 'f':
z1.c:6:3: error: inconsistent operand constraints in an 'asm'
asm ("" : "=@ccc"(x));
^
$
$ gcc-11-20201129 -c z1.c
z1.c: In function 'f':
z1.c:7:1: error: unrecognizable insn:
7 | }
| ^
(insn 7 6 5 2 (set (reg:TI 82)
(zero_extend:TI (reg:QI 83))) "z1.c":6:3 -1
(nil))
during RTL pass: vregs
z1.c:7:1: internal compiler error: in extract_insn, at recog.c:2315
0x5f2645 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
../../gcc/rtl-error.c:108
0x5f2664 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
../../gcc/rtl-error.c:116
0xabf2b7 extract_insn(rtx_insn*)
../../gcc/recog.c:2315
0x89cc63 instantiate_virtual_regs_in_insn
../../gcc/function.c:1609
0x89cc63 instantiate_virtual_regs
../../gcc/function.c:1979
0x89cc63 execute
../../gcc/function.c:2028