public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/4050: incorrectly giving class name as argument to "using" generates internal error 383
@ 2001-08-17 18:38 rodrigc
0 siblings, 0 replies; 2+ messages in thread
From: rodrigc @ 2001-08-17 18:38 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, pinch
Synopsis: incorrectly giving class name as argument to "using" generates internal error 383
State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Fri Aug 17 18:38:21 2001
State-Changed-Why:
Does not result in an internal compiler error in GCC 3.0.1.
Results in a compilation error:
gccbug.cpp:6: `BadClass' is not a namespace
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4050&database=gcc
^ permalink raw reply [flat|nested] 2+ messages in thread
* c++/4050: incorrectly giving class name as argument to "using" generates internal error 383
@ 2001-08-17 14:16 pinch
0 siblings, 0 replies; 2+ messages in thread
From: pinch @ 2001-08-17 14:16 UTC (permalink / raw)
To: gcc-gnats
>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:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-08-17 18:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-17 18:38 c++/4050: incorrectly giving class name as argument to "using" generates internal error 383 rodrigc
-- strict thread matches above, loose matches on Subject: below --
2001-08-17 14:16 pinch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).