[Bug c/97992] New: ICE in subst_asm_stack_regs, at reg-stack.c:2264
gscfq@t-online.de
gcc-bugzilla@gcc.gnu.org
Wed Nov 25 17:04:46 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97992
Bug ID: 97992
Summary: ICE in subst_asm_stack_regs, at reg-stack.c:2264
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gscfq@t-online.de
Target Milestone: ---
Affects versions down to at least r5 :
$ cat z1.c
long double
f (long double x)
{
double r;
asm volatile ("fsqrt" : "=t"(r) : ""(x));
return f (x * x);
}
$ gcc-11-20201122 -c z1.c -O2
during RTL pass: stack
z1.c: In function 'f':
z1.c:7:1: internal compiler error: in subst_asm_stack_regs, at reg-stack.c:2264
7 | }
| ^
0xabde0e subst_asm_stack_regs
../../gcc/reg-stack.c:2264
0xabf8ad subst_stack_regs
../../gcc/reg-stack.c:2425
0xabfc27 convert_regs_1
../../gcc/reg-stack.c:3080
0xabfc27 convert_regs_2
../../gcc/reg-stack.c:3214
0xac0ddd convert_regs
../../gcc/reg-stack.c:3249
0xac0ddd reg_to_stack
../../gcc/reg-stack.c:3374
0xac0ddd rest_of_handle_stack_regs
../../gcc/reg-stack.c:3429
0xac0ddd execute
../../gcc/reg-stack.c:3460
More information about the Gcc-bugs
mailing list