From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10156 invoked by alias); 13 Jan 2002 22:06:02 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 10128 invoked by uid 71); 13 Jan 2002 22:06:01 -0000 Date: Sun, 13 Jan 2002 14:06:00 -0000 Message-ID: <20020113220601.10127.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Craig Rodrigues Subject: Re: c++/3004: g++ internal compiler error on "class Foo::Bar::Baz::Ptr" Reply-To: Craig Rodrigues X-SW-Source: 2002-01/txt/msg00480.txt.bz2 List-Id: The following reply was made to PR c++/3004; it has been noted by GNATS. From: Craig Rodrigues To: gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, tjic@permabit.com, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org Cc: Subject: Re: c++/3004: g++ internal compiler error on "class Foo::Bar::Baz::Ptr" Date: Sun, 13 Jan 2002 17:02:30 -0500 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3004 Compiling this code with gcc 3.1 in CVS yields: a.cpp:12: tree check: expected identifier_node, have type_decl in lookup_tag, at cp/decl.c:5334 Please submit a full bug report Compiling this code with the Digital Unix C++ compiler yields: cxx: Error: a.cpp, line 12: class "Foo::Bar::Baz" has no tag member named "Ptr" class Foo::Bar::Baz::Ptr a; ----------------------^ cxx: Info: 1 error detected in the compilation of "a.cpp". Removing the "class" from in front of Foo::Bar::Baz::Ptr eliminates the error message. -- Craig Rodrigues http://www.gis.net/~craigr rodrigc@mediaone.net