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]

Re: Compiler bug 383


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.



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