This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
C++ internal compiler error with 990517
- To: egcs-bugs at egcs dot cygnus dot com
- Subject: C++ internal compiler error with 990517
- From: Marc Espie <espie at tetto dot liafa dot jussieu dot fr>
- Date: Tue, 25 May 1999 15:21:13 +0200
- Reply-To: Marc dot Espie at liafa dot jussieu dot fr
I don't think it matters, but this is on i386-unknown-openbsd
template<class T> class A {};
template<class T>
class B {
class C;
};
template<class T>class B<T>::C: A<T> {};
The last declaration trips g++ up. Looks like having a subclass inherit
from a template class is too much for it.