public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dave at boost-consulting dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/12170] New: Internal compiler error
Date: Thu, 04 Sep 2003 16:22:00 -0000	[thread overview]
Message-ID: <20030904162242.12170.dave@boost-consulting.com> (raw)

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"


             reply	other threads:[~2003-09-04 16:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-04 16:22 dave at boost-consulting dot com [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030904162242.12170.dave@boost-consulting.com \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).