This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12170] New: Internal compiler error
- From: "dave at boost-consulting dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Sep 2003 16:22:43 -0000
- Subject: [Bug c++/12170] New: Internal compiler error
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12170
Summary: Internal compiler error
Product: gcc
Version: 3.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dave at boost-consulting dot com
CC: gcc-bugs at gcc dot gnu dot org
I believe the root of the problem is in passing class templates in the form of
outer<T>::inner<U> as template template parameters.
--
c:/boost/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp: In instantiation
of
`boost::mpl::aux::template_arity_impl<boost::detail::tuple_of_references<boost:
:tuples::tuple<std::_Rb_tree_iterator<int, const int&, const int*>,
__gnu_cxx::__normal_iterator<double*, std::vector<double,
std::allocator<double> > >, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type> >::iterator_reference<boost::mpl::arg<1> >, 1>':
c:/boost/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:78: instantiated
from
`boost::mpl::aux::template_arity<boost::detail::tuple_of_references<boost::tupl
es::tuple<std::_Rb_tree_iterator<int, const int&, const int*>,
__gnu_cxx::__normal_iterator<double*, std::vector<double,
std::allocator<double> > >, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type> >::iterator_reference<boost::mpl::arg<1> > >'
c:/boost/boost/iterator/zip_iterator.hpp:313: instantiated from
`boost::detail::tuple_impl_specific::tuple_meta_transform<boost::tuples::tuple<
std::_Rb_tree_iterator<int, const int&, const int*>,
__gnu_cxx::__normal_iterator<double*, std::vector<double,
std::allocator<double> > >, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type>,
boost::detail::tuple_of_references<boost::tuples::tuple<std::_Rb_tree_iterator<
int, const int&, const int*>, __gnu_cxx::__normal_iterator<double*,
std::vector<double, std::allocator<double> > >, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type> >::iterator_reference<boost::mpl::arg<1> > >'
c:/boost/boost/iterator/zip_iterator.hpp:313: instantiated from
`boost::detail::tuple_of_references<boost::tuples::tuple<std::_Rb_tree_iterator
<int, const int&, const int*>, __gnu_cxx::__normal_iterator<double*,
std::vector<double, std::allocator<double> > >, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type> >'
c:/boost/boost/iterator/zip_iterator.hpp:392: instantiated from
`boost::detail::zip_iterator_base<boost::tuples::tuple<std::_Rb_tree_iterator<i
nt, const int&, const int*>, __gnu_cxx::__normal_iterator<double*,
std::vector<double, std::allocator<double> > >, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type> >'
zip_iterator_test.cpp:202: instantiated from
`boost::zip_iterator<boost::tuples::tuple<std::_Rb_tree_iterator<int, const
int&, const int*>, __gnu_cxx::__normal_iterator<double*, std::vector<double,
std::allocator<double> > >, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type,
boost::tuples::null_type> >'
zip_iterator_test.cpp:202: instantiated from here
c:/boost/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp:68: Internal
compiler error in tsubst, at cp/pt.c:6459
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
g++ -fmessage-length=0 -c -Wall -ftemplate-depth-100 -g -O0 -fno-
inline -I"c:\build\libs\iterator\test" -I "c:\boost" -
o "c:\build\libs\iterator\test\bin\zip_iterator_test.test\gcc\debug\runtime-
link-dynamic\zip_iterator_test.obj" "zip_iterator_test.cpp"