This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/22553] New: [4.1 regression] ICE building libstdc++
- From: "dank at kegel dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Jul 2005 19:08:23 -0000
- Subject: [Bug rtl-optimization/22553] New: [4.1 regression] ICE building libstdc++
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Building a C/C++ cross-compiler targeting sh4-linux fails with
include/ext/bitmap_allocator.h:1085: internal compiler error: in spill_failure,
at reload1.c:1889
I grabbed the preprocessed source, and was able to reproduce it with
the commandline
gcc-4.1-20050716-glibc-2.3.2/build-gcc/./gcc/xgcc
-B/.../gcc-4.1-20050716-glibc-2.3.2/build-gcc/./gcc/ -O2 -fPIC -c foo.ii
foo.ii: In member function '_Tp*
__gnu_cxx::bitmap_allocator<_Tp>::_M_allocate_single_object() [with _Tp = wchar_t]':
foo.ii:2206: error: unable to find a register to spill in class 'R0_REGS'
foo.ii:2206: error: this is the insn:
(insn:HI 393 416 746 30 (set (reg/f:SI 2 r2 [388])
(mem/u:SI (plus:SI (reg:SI 12 r12)
(reg/f:SI 10 r10 [574])) [0 S4 A32])) 172 {movsi_ie} (nil)
(expr_list:REG_EQUIV (symbol_ref/i:SI
("_ZN9__gnu_cxx16bitmap_allocatorIwE13_S_block_sizeE") <var_decl 0x40411ba0
_S_block_size>)
(nil)))
foo.ii:2206: internal compiler error: in spill_failure, at reload1.c:1889
--
Summary: [4.1 regression] ICE building libstdc++
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: rtl-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dank at kegel dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: sh4-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22553