>From make-check in libstdc++ FAIL: 23_containers/set/explicit_instantiation/3.cc (test for excess errors) Excess errors: /mnt/hd/bld/gcc/i686-pc-linux-gnu/libstdc++-v3/include/bits/stl_set.h: In member function 'std::pair<typename std::_Rb_tree<_Key, _Key, std::_Identity<_Key>, _Compare, typename _Alloc::rebind<_Key>::other>::const_iterator, bool> std::set<_Key, _Compare, _Alloc>::insert(const _Key&) [with _Key = int, _Compare = std::less<int>, _Alloc = std::allocator<char>]': /mnt/hd/bld/gcc/i686-pc-linux-gnu/libstdc++-v3/include/bits/stl_set.h:318: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions.
This is with -O2 only, -O0 and -O1 are fine. -- Summary: ICE: stl_set.h:318: internal compiler error: Segmentation fault Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bkoz at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23310