A small g++ bug ...

Theodore Papadopoulo Theodore.Papadopoulo@sophia.inria.fr
Mon Mar 2 12:17:00 GMT 1998


	This small bad code triggers an internal compiler error 197 with 
egcs (built from the 02/27/98 cvs repository sources). It happens also with
egcs-1.01 and seems not to depend on the host type.

template <class Q>
class A {
	class B {
	public:
		typedef int *it;
	};
	typedef B::it::ptr ptr;
};

hawai->eg++ Bug2.C
Bug2.C:7: Internal compiler error 197.
Bug2.C:7: Please submit a full bug report to `egcs-bugs@cygnus.com'.

	Thank's

		Theo.

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



More information about the Gcc-bugs mailing list