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]

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


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


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