Compiler error

keliher@cs.queensu.ca keliher@cs.queensu.ca
Fri May 26 08:42:00 GMT 2000


Bug report
----------

I received the following error message:

	% g++ -o junk -c junk.cpp
	% junk.cpp:14: Internal compiler error.
	% junk.cpp:14: Please submit a full bug report to `egcs-bugs@egcs.cygnus.com'.
	% junk.cpp:14: See <URL: http://egcs.cygnus.com/faq.html#bugreport > for details.

The GCC version is:

	% gcc -v
	% Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
	% gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)

The system type is:

	Red Hat Linux release 6.0
	Kernel 2.2.5-15 on an i686

Preprocessed source code consisted of these 14 lines:
It is the last union (an anonymous union) preceded by typedef
that causes the problem.

	typedef class
			{
				long bow;
			} alias;

	typedef union
			{
				long shot;
			} alias2;

	typedef union
			{
				long time;
			};


-----------------------
Liam Keliher
keliher@cs.queensu.ca



More information about the Gcc-bugs mailing list