c++/5496: Tree check: expected class 'd', have 't' (record_type) in push_nested_namespace, at cp/decl.c:2388

rodrigc@gcc.gnu.org rodrigc@gcc.gnu.org
Sun Jan 27 12:46:00 GMT 2002


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



More information about the Gcc-bugs mailing list