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]

Compiler error


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


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