This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Compiler bug 383
- To: Dirk Laurie <dirk at calvyn dot puk dot ac dot za>
- Subject: Re: Compiler bug 383
- From: <llewelly at dbritsch dot dsl dot xmission dot com>
- Date: Tue, 16 May 2000 07:31:26 -0600 (MDT)
- Cc: egcs-bugs at egcs dot cygnus dot com
On Tue, 16 May 2000, Dirk Laurie wrote:
> $ g++ g++bug.c
> g++bug.c:7: Internal compiler error 383.
> g++bug.c:7: Please submit a full bug report to `egcs-bugs@egcs.cygnus.com'.
> g++bug.c:7: See <URL:http://egcs.cygnus.com/faq.html#bugreport> for details.
>
> $ g++ -v
> Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
> gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
>
> $ cat g++bug.c
> class type { } ;
> namespace {
> type thing;
> }
> using type::thing;
> // end of input
>
>
gcc 2.95.2 says
{~/cc_exer}g++ g++bug.cc
g++bug.cc:5: `type' is not a namespace
(as does 2.96 20000515 (experimental))
So the bug is fixed. I suggest you upgrade (to 2.95.2)
Thank you for your bug report.