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]

C++ internal compiler error with 990517


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.


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