>Number: 3123 >Category: c++ >Synopsis: A class derivated from a namespace causes an internal compiler error >Confidential: no >Severity: non-critical >Priority: low >Responsible: unassigned >State: open >Class: ice-on-illegal-code >Submitter-Id: net >Arrival-Date: Mon Jun 11 09:46:03 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Thomas Dégrange >Release: Regcc version 2.95.3 19991030 (prerelease) >Organization: >Environment: >Description: > gcc -v Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux/2.95.3/specs gcc version 2.95.3 19991030 (prerelease) "The following code causes an GCC internal error on my system and seems to be accepted on "CodeSourcery's Online Test Compilation". In both cases it seems to me that GCC has a bug." > g++ main.cc main.cc:6: Internal compiler error. main.cc:6: Please submit a full bug report. main.cc:6: See for instructions. >How-To-Repeat: file "main.cc": namespace Out { namespace In { } } class Class : public Out::In { }; >Fix: >Release-Note: >Audit-Trail: >Unformatted: