public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/12170] New: Internal compiler error
@ 2003-09-04 16:22 dave at boost-consulting dot com
  2003-09-04 16:23 ` [Bug c++/12170] " dave at boost-consulting dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: dave at boost-consulting dot com @ 2003-09-04 16:22 UTC (permalink / raw)
  To: gcc-bugs

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"


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-07-19 15:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-04 16:22 [Bug c++/12170] New: Internal compiler error dave at boost-consulting dot com
2003-09-04 16:23 ` [Bug c++/12170] " dave at boost-consulting dot com
2003-09-05 23:45 ` [Bug c++/12170] ICE in cp_type_quals bangerth at dealii dot org
2003-12-05  2:46 ` pinskia at gcc dot gnu dot org
2004-07-18 15:31 ` lerdsuwa at gcc dot gnu dot org
2004-07-18 15:37 ` lerdsuwa at gcc dot gnu dot org
2004-07-18 16:19 ` lerdsuwa at gcc dot gnu dot org
2004-07-19 15:04 ` cvs-commit at gcc dot gnu dot org
2004-07-19 15:04 ` lerdsuwa at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).