This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/10661: [3.3/3.4? regression] ICE in instantiate_decl
- From: "Giovanni Bajo" <giovannibajo at libero dot it>
- To: <bangerth at dealii dot org>,<gawrilow at math dot tu-berlin dot de>,<gcc-bugs at gcc dot gnu dot org>,<gcc-prs at gcc dot gnu dot org>,<giovannibajo at libero dot it>,<gcc-gnats at gcc dot gnu dot org>
- Date: Thu, 8 May 2003 18:28:57 +0200
- Subject: Re: c++/10661: [3.3/3.4? regression] ICE in instantiate_decl
- References: <20030508141907.18175.qmail@sources.redhat.com>
Hello Ewgenij,
I have just finished a first small analysys.
Your code is illegal: within iterator_chain<>::_init(), line 69731 is
ill-formed:
Functions::init::defs<0>::_do(*owner, *this);
Functions::init::defs<0> is a dependent postfix-expression, so the code must
be changed to:
Functions::init::template defs<0>::_do(*owner, *this);
With this change, your whole code can be compiled correctly. Thus, I change
the class of this bug to "ice-on-illegal-code". Again, I suggest you to test
this again with 3.4, which is much stricter wrt C++ standard conformance.
I will now continue work to reduce the ICE.
Giovanni Bajo