This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/8522: GCC 3.2: g++ ICE on possibly illegal template class forward declaration
- From: reichelt at igpm dot rwth-aachen dot de
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, peter dot karl dot mueller at gmx dot de
- Date: 11 Nov 2002 11:46:05 -0000
- Subject: Re: c++/8522: GCC 3.2: g++ ICE on possibly illegal template class forward declaration
- Reply-to: reichelt at igpm dot rwth-aachen dot de, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, peter dot karl dot mueller at gmx dot de, gcc-gnats at gcc dot gnu dot org
Synopsis: GCC 3.2: g++ ICE on possibly illegal template class forward declaration
State-Changed-From-To: open->analyzed
State-Changed-By: reichelt
State-Changed-When: Mon Nov 11 03:46:03 2002
State-Changed-Why:
Confirmed.
The ICE occurs since gcc 3.0 and is still present in the
3.2 branch and mainline.
gcc 2.95.x does a little better: It issues the following
error message:
2.cc:2: `U<T>' does not have a nested type named `G'
2.cc:2: template class without a name
2.cc:2: template class without a name
2.cc:2: confused by earlier errors, bailing out
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8522