This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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



>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]