This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


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

Internal compiler error


Hi all,
	The code below generates an internal compiler error message from
cygwin gcc.  I know the code is wrong, the assignment is invalid.  But
should gcc generate an internal compiler error message?  This was from
b18.

--jc
------------------------- cut here ----------------
struct bug
	{
	union
		{
		int i;
		short s;
		} u;
	};

int
main()
	{
	struct bug b;

	b.u = 0;

	return 0;
	}
---------------------------------------------------

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


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