This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/5496: Tree check: expected class 'd', have 't' (record_type) in push_nested_namespace, at cp/decl.c:2388
- From: rodrigc at gcc dot gnu dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, jsberg at bnl dot gov, nobody at gcc dot gnu dot org
- Date: 27 Jan 2002 19:15:11 -0000
- Subject: Re: c++/5496: Tree check: expected class 'd', have 't' (record_type) in push_nested_namespace, at cp/decl.c:2388
- Reply-to: rodrigc at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, jsberg at bnl dot gov, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Old Synopsis: complier produces nonesense error messages
New Synopsis: Tree check: expected class 'd', have 't' (record_type) in push_nested_namespace, at cp/decl.c:2388
State-Changed-From-To: open->analyzed
State-Changed-By: rodrigc
State-Changed-When: Sun Jan 27 11:15:09 2002
State-Changed-Why:
Reproduced with gcc 3.0.3 and gcc 3.1 in CVS.
If the compiler is configured with --enable-checking,
the error message is:
Sum.h: In instantiation of `FreeLie::Sum<double>::const_iterator':
test05.cxx:18: instantiated from `std::ostream& operator<<(std::ostream&, const FreeLie::Sum<COEF>&) [with COEF = double]'
test05.cxx:33: instantiated from here
Sum.h:40: Tree check: expected class 'd', have 't' (record_type) in
push_nested_namespace, at cp/decl.c:2388
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5496