ICE for broken code

David C Binderman dcb@pncl.co.uk
Sun Nov 15 09:32:00 GMT 1998


Hello there,

The following illegal C++ code, when compiled by the most recent half
dozen snapshots or so of egcs, cause an internal compiler error on a
Linux / Redhat 5.1 Alpha EV5.6 machine

class A
{
};

template <class Type>
class A {
public:
	void f1();
};

Regards
David C Binderman MSc BSc	+44 1293 534847		dcb@pncl.co.uk




More information about the Gcc-bugs mailing list