Bug in gcc: Internal compiler error 892.

Nikolai Smirnov Nikolai.Smirnov@cern.ch
Tue Feb 29 05:15:00 GMT 2000


> g++ --version
egcs-2.91.66

> uname -a
Linux lxplus014 2.2.5-22smp #1 SMP Wed Jun 2 09:11:51 EDT 1999 i686 unknown

> g++ -c bug.cc
bug.cc:1: Internal compiler error 892.
bug.cc:1: Please submit a full bug report to `egcs-bugs@egcs.cygnus.com'.
bug.cc:1: See <URL: http://egcs.cygnus.com/faq.html#bugreport > for details.

> cat bug.cc
// bug.cc
template <class T>
class A {
public:

  template <class V>
  class B {};

  typedef B<T> C;

  void f ( C );
};

template <class T> void A<T>::f ( A<T>::C ) {}

int main() {}
// end of bug.cc

--
Regards, Nikolai Smirnov






More information about the Gcc-bugs mailing list