c++/3004: g++ internal compiler error on "class Foo::Bar::Baz::Ptr"

tjic@permabit.com tjic@permabit.com
Wed May 30 09:26:00 GMT 2001


>Number:         3004
>Category:       c++
>Synopsis:       g++ internal compiler error on "class Foo::Bar::Baz::Ptr"
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 30 09:26:02 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Travis J.I. Corcoran
>Release:        g++ 2.95.2
>Organization:
>Environment:
Linux 2.2.19		
>Description:
run g++ on a short file, get an internal error.

foo.cpp:
  namespace Foo{
     namespace Bar {
         class Baz {
               public: typedef Baz * Ptr; }; } }

   class Foo::Bar::Baz::Ptr;

g++ -c -o foo.o foo.cpp
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list