Internal compiler error

Christophe Boyanique boyan@imac.u-paris2.fr
Fri Nov 20 07:55:00 GMT 1998


Hi,

I've just found this *funny* error message during my C++ lesson:

~/prog/auzende/c++/tp4$ g++ tmplte2.cc
tmplte2.cc:25: Internal compiler error.
tmplte2.cc:25: Please submit a full bug report to `egcs-bugs@cygnus.com'.

Here is the source code included.

Of course the correct syntax is perfectly working :)
  template<class T> T & vecteur<T>::operator[](int n)

The version is:

~/prog/auzende/c++/tp4$ g++ --version
egcs-2.90.27 980315 (egcs-1.0.2 release)
~/prog/auzende/c++/tp4$ uname -a
Linux 2.0.35 #1 Wed Oct 14 21:28:31 CEST 1998 i686 unknown (RedHat 5.1)

Regards, Christophe Boyanique.


More information about the Gcc-bugs mailing list