This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/4050: incorrectly giving class name as argument to "using" generates internal error 383
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/4050: incorrectly giving class name as argument to "using" generates internal error 383
- From: pinch at informix dot com
- Date: 17 Aug 2001 21:13:23 -0000
- Reply-To: pinch at informix dot com
>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: