funmembug.cxx : internal error egcs/gcc

Philippe De Muyter phdm@macqel.be
Tue Feb 10 03:34:00 GMT 1998


The following small incorrect program gives an internal error with the
test-release of gcc-2.8.1 on m68k-motorola-sysv and with egcs-1.0.1
on powerpc-ibm-aix4.1.5.0.

const char desc[] =
"Incorrect program, internal compiler error with gcc-2.8.1 & egcs-1.0.1";

class x
{
public:
	virtual int is_constant();
};

main()
{
	x* y;	
	if (y->is_constant)
		{
		}
}




More information about the Gcc mailing list