[Bug c++/14448] New: Segfault in Boost indexed_set
giovannibajo at libero dot it
gcc-bugzilla@gcc.gnu.org
Fri Mar 5 15:22:00 GMT 2004
The preprocessed source attacched segfaults 3.4 and mainline:
../../../boost/indexed_set/seq_index_ops.hpp: In function `void
boost::indexed_sets::detail::sequenced_index_sort(Node*, Compare) [with Node =
boost::indexed_sets::detail::sequenced_index_node<boost::indexed_sets::detail::i
ndex_node_base<int> >, Compare = std::less<int>]':
../../../boost/indexed_set/sequenced_index.hpp:416: instantiated from `void
boost::indexed_sets::detail::sequenced_index<Super, TagList>::sort() [with
Super = boost::indexed_sets::detail::index_base<int,
boost::indexed_sets::index_list<boost::indexed_sets::unique<boost::indexed_sets:
:identity<int>, boost::indexed_sets::detail::null_arg,
boost::indexed_sets::detail::null_arg>,
boost::indexed_sets::sequenced<boost::indexed_sets::tag<boost::mpl::void_,
boost::mpl::void_, boost::mpl::void_, boost::mpl::void_, boost::mpl::void_,
boost::mpl::void_, boost::mpl::void_, boost::mpl::void_, boost::mpl::void_,
boost::mpl::void_> >, boost::mpl::void_, boost::mpl::void_, boost::mpl::void_,
boost::mpl::void_, boost::mpl::void_, boost::mpl::void_, boost::mpl::void_,
boost::mpl::void_>, std::allocator<int> >, TagList =
boost::indexed_sets::tag<boost::mpl::void_, boost::mpl::void_,
boost::mpl::void_, boost::mpl::void_, boost::mpl::void_, boost::mpl::void_,
boost::mpl::void_, boost::mpl::void_, boost::mpl::void_, boost::mpl::void_>]'
test_list_ops.cpp:127: instantiated from here
../../../boost/indexed_set/seq_index_ops.hpp:117: internal compiler error:
Segmentation fault
without any special compilation option.
This is with:
gcc version 3.4.0 20040216 (prerelease)
gcc version 3.5.0 20040219 (experimental)
so they're not super recent, but still. I haven't tried any reduction and I
won't have time today at least. The code is supposed to be valid.
--
Summary: Segfault in Boost indexed_set
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: giovannibajo at libero dot it
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14448
More information about the Gcc-bugs
mailing list