This is the mail archive of the
gcc-prs@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: giovannibajo at libero dot it
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 8 May 2003 16:36:02 -0000
- Subject: Re: c++/10661: [3.3/3.4? regression] ICE in instantiate_decl
- Reply-to: "Giovanni Bajo" <giovannibajo at libero dot it>
The following reply was made to PR c++/10661; it has been noted by GNATS.
From: "Giovanni Bajo" <giovannibajo@libero.it>
To: <bangerth@dealii.org>,
<gawrilow@math.tu-berlin.de>,
<gcc-bugs@gcc.gnu.org>,
<gcc-prs@gcc.gnu.org>,
<giovannibajo@libero.it>,
<gcc-gnats@gcc.gnu.org>
Cc:
Subject: Re: c++/10661: [3.3/3.4? regression] ICE in instantiate_decl
Date: Thu, 8 May 2003 18:28:57 +0200
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