https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122701
Bug ID: 122701
Summary: [16 Regression] during RTL pass ira: ICE in
extract_insn, at recog.cc:2884 on amdgcn-amdhsa
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: doko at gcc dot gnu.org
Target Milestone: ---
seen on trunk 20251116 building an amdgcn-amdhsa offload compiler using the
just built 20251116 compiler.
CC libc/stdlib/libc_a-wcstoumax.o
../../../src-gcn/newlib/libc/stdlib/strtoumax.c: In function
'_strtoumax_l.isra':
../../../src-gcn/newlib/libc/stdlib/strtoumax.c:127:1: error: unrecognizable
insn:
127 | }
| ^
(insn 235 232 236 19 (parallel [
(set (reg:SI 695 [ c.4_34 ])
(reg/v:SI 684 [ c ]))
(clobber (scratch:BI))
]) "../../../src-gcn/newlib/libc/stdlib/strtoumax.c":98:16 -1
(expr_list:REG_DEAD (reg/v:SI 684 [ c ])
(nil)))
during RTL pass: ira
../../../src-gcn/newlib/libc/stdlib/strtoumax.c:127:1: internal compiler error:
in extract_insn, at recog.cc:2884
../../../src-gcn/newlib/libc/stdlib/strtoimax.c: In function
'_strtoimax_l.isra':
../../../src-gcn/newlib/libc/stdlib/strtoimax.c:148:1: error: unrecognizable
insn:
148 | }
| ^
(insn 221 218 222 19 (parallel [
(set (reg:SI 700 [ c.4_36 ])
(reg/v:SI 684 [ c ]))
(clobber (scratch:BI))
]) "../../../src-gcn/newlib/libc/stdlib/strtoimax.c":119:16 -1
(expr_list:REG_DEAD (reg/v:SI 684 [ c ])
(nil)))
during RTL pass: ira
../../../src-gcn/newlib/libc/stdlib/strtoimax.c:148:1: internal compiler error:
in extract_insn, at recog.cc:2884
CC libm/complex/libm_a-crealf.o