This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/8906: [3.2/3.3 regression] segmentation fault when parsing nested-class definition
- From: bangerth at dealii dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, wirawan0 at softhome dot net
- Date: 12 Dec 2002 01:18:34 -0000
- Subject: Re: c++/8906: [3.2/3.3 regression] segmentation fault when parsing nested-class definition
- Reply-to: bangerth at dealii dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, wirawan0 at softhome dot net, gcc-gnats at gcc dot gnu dot org
Old Synopsis: G++ 3.2 raises segmentation fault when parsing nested-class definition
New Synopsis: [3.2/3.3 regression] segmentation fault when parsing nested-class definition
State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Wed Dec 11 17:18:33 2002
State-Changed-Why:
Confirmed. It used to work until 3.0, but fails with 3.2
and 3.3. Here's the code:
---------------------
template <class T> class CO {
class CI1 {
class CI2;
};
};
template <class T>
class CO<T>::CI1::CI2 {};
---------------------
Using my GNU-compiler-collection, I see that this regression
has been introduced in the first half of July:
../bin/gcc-2002-06-15 +
../bin/gcc-2002-07-01 +
../bin/gcc-2002-07-15 X
../bin/gcc-2002-08-01 X
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8906