https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92989
Bug ID: 92989
Summary: The mips-mti-linux-gnu fails to build after r276327
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Keywords: build, ice-checking
Severity: normal
Priority: P3
Component: rtl-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: [email protected]
CC: richard.sandiford at arm dot com
Target Milestone: ---
Target: mips-mti-linux-gnu
Created attachment 47520
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47520&action=edit
Prepossessed reproducer
Failure happens during mips16 multilib libstdc++ build. It can be reproduced in
a quick way via mipsisa64-elf on current trunk(r279523):
~./gcc/xgcc -B./gcc -std=gnu++98 -fno-implicit-templates -O2 -mips16 -x c++
locale.i -fPIC -mabi=32 -mabicalls -mexplicit-relocs -mno-gpopt -c -o
locale.o
during RTL pass: reload
/media/draganm/NewDisk/workarea_back/src/gcc/libstdc++-v3/src/c++98/locale.cc:
In member function ‘void std::locale::_Impl::_M_install_cache(const
std::locale::facet*, std::size_t)’:
/media/draganm/NewDisk/workarea_back/src/gcc/libstdc++-v3/src/c++98/locale.cc:471:3:
internal compiler error: in lra_assign, at lra-assigns.c:1646
471 | }
| ^
0xccc370 lra_assign(bool&)
../../src/gcc/gcc/lra-assigns.c:1646
0xcc6574 lra(_IO_FILE*)
../../src/gcc/gcc/lra.c:2487
0xc78069 do_reload
../../src/gcc/gcc/ira.c:5518
0xc78069 execute
../../src/gcc/gcc/ira.c:5704
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.