https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117168
Bug ID: 117168 Summary: Bootstrap fails with ICE: in curr_insn_transform, at lra-constraints.cc:4283 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: glaubitz at physik dot fu-berlin.de CC: ro at gcc dot gnu.org, sjames at gcc dot gnu.org Target Milestone: --- Host: sparc-sun-solaris2.11 Trying to bootstrap master sparc-sun-solaris2.11 fails with: In file included from ../../../../../libstdc++-v3/src/c++17/floating_to_chars.cc:124: ../../../../../libstdc++-v3/src/c++17/ryu/generic_128.c: In function ‘{anonymous}::ryu::generic128::floating_decimal_128 {anonymous}::ryu::generic128::generic_binary_to_decimal({anonymous}::uint128_t, uint32_t, bool, uint32_t, uint32_t, bool)’: ../../../../../libstdc++-v3/src/c++17/ryu/generic_128.c:237:1: error: unable to generate reloads for: 237 | } | ^ (insn 3615 8022 3616 75 (set (mem/c:DI (plus:SI (reg/f:SI 101 %sfp) (const_int -112 [0xffffffffffffff90])) [59 %sfp+-112 S8 A64]) (mem/c:DI (plus:SI (reg/f:SI 101 %sfp) (const_int -32 [0xffffffffffffffe0])) [9 MEM[(long long unsigned int[4] *)_2631][0]+0 S8 A64])) "../../../../../libstdc++-v3/src/c++17/ryu/generic_128.h":483:52 discrim 2 124 {*movdi_insn_sp32} (nil)) during RTL pass: reload ../../../../../libstdc++-v3/src/c++17/ryu/generic_128.c:237:1: internal compiler error: in curr_insn_transform, at lra-constraints.cc:4283 0x104519b5b internal_error(char const*, ...) ../../gcc/diagnostic-global-context.cc:517 0x1044e1e83 fancy_abort(char const*, int, char const*) ../../gcc/diagnostic.cc:1535 0x1025b085f _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) ../../gcc/rtl-error.cc:108 0x1022b7917 curr_insn_transform ../../gcc/lra-constraints.cc:4283 0x1022be52f lra_constraints(bool) ../../gcc/lra-constraints.cc:5496 0x102297b03 lra(__FILE*, int) ../../gcc/lra.cc:2445 0x10220e2b3 do_reload ../../gcc/ira.cc:5977 0x10220ec6f execute ../../gcc/ira.cc:6165 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. This might be related to PR target/113952. Reproduced on cfarm216.