Please see bug report 9133. Joaquín M Lopez has closed in on the problem from my original submission. Here is the gist of the problem: // membspace.C template <typename T> class A { class A1{} A1; }; template <typename T> class B: public A<T> {}; int main(void) { return 0; } // booby:~/c++/bimap> alias g3 alias g3='/usr/local/products/gcc/3.2.1/bin/g++' booby:~/c++/bimap> g3 -v Reading specs from /usr/local/products/gcc/3.2.1/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1/specs Configured with: ../gcc-3.2.1/configure --with-gnu-as --with-as=/usr/local/products/binutils/2.11.2/bin/gnu-as --with-gnu-ld --with-ld=/usr/local/products/binutils/2.11.2/bin/gnu-ld --disable-nls --enable-languages=c,c++ --disable-libgcj --disable-shared --prefix=/usr/local/products/gcc/3.2.1 Thread model: posix gcc version 3.2.1 booby:~/c++/bimap> g3 membspace.C membspace.C:7: internal error: Segmentation Fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. Release: unknown Environment: UNIX/LINUX How-To-Repeat: Compile the sampple code provided above (repeated here): // membspace.C template <typename T> class A { class A1{} A1; }; template <typename T> class B: public A<T> {}; int main(void) { return 0; } //
State-Changed-From-To: open->analyzed State-Changed-Why: Confirmed. The bug is present since at least gcc 2.95.x and affects the 3.2 and 3.3 branch, and mainline (with the new parser).
State-Changed-From-To: analyzed->closed State-Changed-Why: Fixed in 3.4 CVS 20030503