https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119834
Bug ID: 119834
Summary: Compiling harfbuzz 11.0.1 with gcc 15 20250413 fails
on s390x
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: lfoldy at gmail dot com
Target Milestone: ---
../harfbuzz-11.0.1/src/hb-ot-layout-common.hh: In member function 'bool
OT::ItemVariationStore::serialize(hb_serialize_context_t*, bool, const
hb_vector_t<unsigned int>&, const hb_vector_t<const hb_hashmap_t<unsigned int,
Triple>*>&, const hb_vector_t<OT::delta_row_encoding_t>&)':
../harfbuzz-11.0.1/src/hb-ot-layout-common.hh:3284:3: error: could not split
insn
3284 | }
| ^
(insn 415 1625 1686 (parallel [
(set (mem:BLK (reg/f:DI 1 %r1 [orig:264 pretmp_393 ] [264]) [0
A8])
(const_int 0 [0]))
(use (const_int 3 [0x3]))
(use (const:BLK (unspec:BLK [
(const_int 0 [0])
] UNSPEC_INSN)))
(clobber (reg:DI 4 %r4 [544]))
(clobber (reg:CC 33 %cc))
]) "../harfbuzz-11.0.1/src/hb-algs.hh":996:17 1900 {*clrmem_short}
(expr_list:REG_DEAD (reg/f:DI 1 %r1 [orig:264 pretmp_393 ] [264])
(expr_list:REG_UNUSED (reg:CC 33 %cc)
(expr_list:REG_UNUSED (reg:DI 4 %r4 [544])
(nil)))))
during RTL pass: final
../harfbuzz-11.0.1/src/hb-ot-layout-common.hh:3284:3: internal compiler error:
in final_scan_insn_1, at final.cc:2813
Interestingly, the preprocessed file is compiled fine.
This is a qemu system, so everything takes hours or days. Can someone with real
hardware reproduce this?