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]

A small g++ bug ...



	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
 --------------------------------------------------------------------


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