bug in gcc version 2.95.2 19991024 (release): internal error with default constructor in nested classes

Erik Eckstein Eckstein@atair.co.at
Fri Jul 21 07:33:00 GMT 2000


Command line:

	bin/g++ test.c

Compiler version:

	2.95.2 19991024 (release)

Target:

	Intel x86

Source code (I think it is minimal):

	class X
	{
		class Y
		{
			public: Y(int y = 0);
		};
		class Z
		{
			public: void f(Y z = Y());
		};
	};

Compiler output:

	test.c:9: Internal compiler error.
	test.c:9: Please submit a full bug report.
	test.c:9: See
<URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for instructions.
	Exit 1



More information about the Gcc-bugs mailing list