C++: ICE in egcs-2.93.17 with template members and inheritance.

Theodore Papadopoulo Theodore.Papadopoulo@sophia.inria.fr
Tue Apr 6 10:09:00 GMT 1999


	With the following code g++ (egcs-2.93.17 19990406) crashes 
whereas it was working with egcs-2.93.14:

mururoa->cat TempMembInhe.C
// Build don't link:
class A {
public:
        template <class T> T& f(T& t) const;
};

class B {
public:
        template <class T> T& f(T& t) const;
};

class C: public A,B {
public:
        template <class T> T& f(T& t) const;
};

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

	Thank's,

		Theo.
 --------------------------------------------------------------------
 Theodore Papadopoulo
 Email: Theodore.Papadopoulo@sophia.inria.fr Tel: (33) 04 92 38 76 01
 --------------------------------------------------------------------





More information about the Gcc-bugs mailing list