This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/5975: [3.2/3.3 regression] ICE with typedefs and templates
- 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, reichelt at igpm dot rwth-aachen dot de
- Date: 12 Mar 2003 15:49:38 -0000
- Subject: Re: c++/5975: [3.2/3.3 regression] ICE with typedefs and templates
- 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, reichelt at igpm dot rwth-aachen dot de, gcc-gnats at gcc dot gnu dot org
Old Synopsis: [3.3 regression] ICE with typedefs and templates
New Synopsis: [3.2/3.3 regression] ICE with typedefs and templates
State-Changed-From-To: closed->analyzed
State-Changed-By: reichelt
State-Changed-When: Wed Mar 12 15:49:38 2003
State-Changed-Why:
Not fixed on 3.2 branch and 3.3 branch.
The problem only arises, when the compiler is configured with
--enable-checking.
With both compilers (as of 20030310) I get
PR5975.cc:8: error: `X' is not a class or namespace
PR5975.cc:8: internal compiler error: tree check: expected class 't', have 'x'
(identifier_node) in make_typename_type, at cp/decl.c:5744
Please submit a full bug report, [etc.]
(This problem actually affects all versions since 3.1.)
Since this is an error recovery problem (we do issue a
useful error message before the tree check failure),
I rate this as "low priority". It is, however, a regression
from gcc 3.0.x.
The problem is indeed fixed on mainline.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5975