http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51810
--- Comment #5 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2012-01-10 16:32:23 UTC --- Created attachment 26295 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26295 another reduced testcase The testcase from Comment 4 doesn't work on my machine. Here is another one. % g++ -std=c++0x test.ii test.ii: In instantiation of ‘boost::unordered::detail::table_impl< <template-parameter-1-1> >::emplace_return boost::unordered::detail::table_impl< <template-parameter-1-1> >::emplace(Args&& ...) [with Args = {std::pair<const rtl::OUString, {anonymous}::CommandInfo>}; Types = boost::unordered::detail::map<std::allocator<std::pair<const rtl::OUString, {anonymous}::CommandInfo> >, rtl::OUString, std::equal_to<rtl::OUString>, std::equal_to<rtl::OUString> >; boost::unordered::detail::table_impl< <template-parameter-1-1> >::emplace_return = std::pair<boost::unordered::iterator_detail::iterator<std::pair<const rtl::OUString, {anonymous}::CommandInfo>*, std::pair<const rtl::OUString, {anonymous}::CommandInfo> >, bool>; typename boost::unordered::detail::table<Types>::iterator = boost::unordered::iterator_detail::iterator<std::pair<const rtl::OUString, {anonymous}::CommandInfo>*, std::pair<const rtl::OUString, {anonymous}::CommandInfo> >]’: test.ii:416:9: required from ‘std::pair<typename boost::unordered::detail::map<typename boost::unordered::detail::rebind_wrap<A, std::pair<const K, T> >::type, K, H, P>::table::iterator, bool> boost::unordered::unordered_map<K, T, <template-parameter-1-3>, <template-parameter-1-4>, <template-parameter-1-5> >::emplace(Args&& ...) [with Args = {std::pair<const rtl::OUString, {anonymous}::CommandInfo>}; K = rtl::OUString; T = {anonymous}::CommandInfo; H = std::equal_to<rtl::OUString>; P = std::equal_to<rtl::OUString>; A = std::allocator<std::pair<const rtl::OUString, {anonymous}::CommandInfo> >; typename boost::unordered::detail::map<typename boost::unordered::detail::rebind_wrap<A, std::pair<const K, T> >::type, K, H, P>::table::iterator = boost::unordered::iterator_detail::iterator<std::pair<const rtl::OUString, {anonymous}::CommandInfo>*, std::pair<const rtl::OUString, {anonymous}::CommandInfo> >]’ test.ii:420:9: required from ‘std::pair<typename boost::unordered::detail::map<typename boost::unordered::detail::rebind_wrap<A, std::pair<const K, T> >::type, K, H, P>::table::iterator, bool> boost::unordered::unordered_map<K, T, <template-parameter-1-3>, <template-parameter-1-4>, <template-parameter-1-5> >::insert(boost::unordered::unordered_map<K, T, <template-parameter-1-3>, <template-parameter-1-4>, <template-parameter-1-5> >::value_type&&) [with K = rtl::OUString; T = {anonymous}::CommandInfo; H = std::equal_to<rtl::OUString>; P = std::equal_to<rtl::OUString>; A = std::allocator<std::pair<const rtl::OUString, {anonymous}::CommandInfo> >; typename boost::unordered::detail::map<typename boost::unordered::detail::rebind_wrap<A, std::pair<const K, T> >::type, K, H, P>::table::iterator = boost::unordered::iterator_detail::iterator<std::pair<const rtl::OUString, {anonymous}::CommandInfo>*, std::pair<const rtl::OUString, {anonymous}::CommandInfo> >; boost::unordered::unordered_map<K, T, <template-parameter-1-3>, <template-parameter-1-4>, <template-parameter-1-5> >::value_type = std::pair<const rtl::OUString, {anonymous}::CommandInfo>]’ test.ii:536:69: required from here test.ii:432:10: internal compiler error: Segmentation fault