https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112918
Bug ID: 112918 Summary: [m68k] [LRA] ICE: maximum number of generated reload insns per insn achieved (90) Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: sch...@linux-m68k.org Target Milestone: --- Target: m68k-*-* When enabling LRA on m68k the compiler ICEs when compiling libstdc++: $ ../../../../gcc/xgcc -shared-libgcc -B../../../../gcc -nostdinc++ -L.. -L../.libs -L../../libsupc++/.libs -I../../../../../libstdc++-v3/../libgcc -I../../include/m68k-linux -I../../include -I../../../../../libstdc++-v3/libsupc++ -std=gnu++17 -nostdinc++ -D_GLIBCXX_SHARED -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2 -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=floating_from_chars.lo -fimplicit-templates -g -O2 -D_GNU_SOURCE -c ../../../../../libstdc++-v3/src/c++17/floating_from_chars.cc -fPIC -DPIC -D_GLIBCXX_SHARED -o floating_from_chars.o during RTL pass: reload ../../../../../libstdc++-v3/src/c++17/floating_from_chars.cc: In function ‘std::from_chars_result std::__from_chars_float16_t(const char*, const char*, float&, chars_format)’: ../../../../../libstdc++-v3/src/c++17/floating_from_chars.cc:1289:1: internal compiler error: maximum number of generated reload insns per insn achieved (90) 1289 | } | ^ 0xed33c0 lra_constraints(bool) ../../gcc/lra-constraints.cc:5429 0xeba98a lra(_IO_FILE*, int) ../../gcc/lra.cc:2440 0xe688c7 do_reload ../../gcc/ira.cc:5973 0xe688c7 execute ../../gcc/ira.cc:6161 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.