c++/4050: incorrectly giving class name as argument to "using" generates internal error 383

pinch@informix.com pinch@informix.com
Fri Aug 17 14:16:00 GMT 2001


>Number:         4050
>Category:       c++
>Synopsis:       incorrectly giving class name as argument to "using" generates internal error 383
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 17 14:16:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     pinch@informix.com
>Release:        2-91.66
>Organization:
>Environment:
Linux
>Description:
If one incorrectly gives the name of a class instead of a namespace to "using", we get:


(.junk) 2 % gcc -c gccbug.cpp
gccbug.cpp:6: Internal compiler error 383.
gccbug.cpp:6: Please submit a full bug report to `egcs-bugs@egcs.cygnus.com'.
gccbug.cpp:6: See <URL: http://egcs.cygnus.com/faq.html#bugreport > for details.

>How-To-Repeat:
Try it on the following little program:

(.junk) 6 % more gccbug.cpp
class BadClass
{
    char foo[250];
};

using BadClass::foo;
(.junk) 7 % 
>Fix:

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



More information about the Gcc-bugs mailing list