I get this failure building libstdc++: /home/rask/build/gcc-m32c-unknown-elf/m32c-unknown-elf/m32cm/libstdc++-v3/include/ext/bitmap_allocator.h: In member function 'void __gnu_cxx::bitmap_allocator<_Tp>::_M_deallocate_single_object(_Tp*) [with _Tp = wchar_t]': /home/rask/build/gcc-m32c-unknown-elf/m32c-unknown-elf/m32cm/libstdc++-v3/include/ext/bitmap_allocator.h:1027: internal compiler error: in smallest_mode_for_size, at stor-layout.c:220
Can be reproduced with this command line and the attached preprocessed source: ./xgcc -B./ -O2 -mcpu=m32cm ~/bitmap-allocator.cc -S -o /dev/null These are the flags I configured gcc with: --target m32c-unknown-elf --with-newlib --enable-sim --disable-gdb --disable-nls --enable-languages=c,c++ --enable-cxx-flags=-O2 -- Summary: [4.3 regression] m32c: ICE in smallest_mode_for_size, at stor-layout.c:220 Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rask at sygehus dot dk GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: m32c-unknown-elf http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32656