delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/11/22/18:42:01

From: jimen AT adtech-inc DOT com (Jimen Ching)
Subject: Internal compiler error
22 Nov 1997 18:42:01 -0800 :
Message-ID: <01BCF74E.E3ABFB20.cygnus.gnu-win32@awapuhi041.lava.net>
To: "'gnu-win32 AT cygnus DOT com'" <gnu-win32 AT cygnus DOT com>

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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019