https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113048
Manuel Lauss <manuel.lauss at googlemail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manuel.lauss at googlemail dot com --- Comment #2 from Manuel Lauss <manuel.lauss at googlemail dot com> --- I'm seeing similar ICE in xgcc when trying to build GCC-14 for MIPS32; it goes away when I drop "-fPIC" or "-march=mips32": /build/./gcc/xgcc -B/build/./gcc -march=mips32 -O2 -c wlocale-inst.ii -fPIC /build/mipsel-softfloat-linux-gnu/libstdc++-v3/include/bits/locale_facets.tcc:588:7: error: unable to find a register to spill 588 | } | ^ /build/mipsel-softfloat-linux-gnu/libstdc++-v3/include/bits/locale_facets.tcc:588:7: error: this is the insn: (insn 470 2008 2009 82 (parallel [ (set (reg:SI 908) (plus:SI (mult:SI (reg:SI 567 [ __result+4 ]) (reg/v:SI 220 [ __base ])) (reg:SI 909))) (clobber (reg:SI 796 [762])) (clobber (reg:SI 763)) ]) "/build/mipsel-softfloat-linux-gnu/libstdc++-v3/include/bits/locale_facets.tcc":493:14 42 {*mul_acc_si} (expr_list:REG_UNUSED (reg:SI 763) (expr_list:REG_UNUSED (reg:SI 796 [762]) (expr_list:REG_DEAD (reg:SI 909) (expr_list:REG_DEAD (reg:SI 567 [ __result+4 ]) (nil)))))) during RTL pass: reload /build/mipsel-softfloat-linux-gnu/libstdc++-v3/include/bits/locale_facets.tcc:588:7: internal compiler error: in lra_split_hard_reg_for, at lra-assigns.cc:1862