Path: utzoo!utgpu!water!watmath!uunet!umbc3!alex
From: alex@umbc3.UMD.EDU (Alex S. Crain)
Newsgroups: unix-pc.general
Subject: Re: A new (to me) bug in /bin/cc
Message-ID: <1044@umbc3.UMD.EDU>
Date: 27 Jun 88 17:47:18 GMT
References: <425@kosman.UUCP>
Reply-To: alex@umbc3.UMD.EDU (Alex S. Crain)
Organization: University of Maryland, Baltimore County
Lines: 26

In article <425@kosman.UUCP> kevin@kosman.UUCP (Kevin O'Gorman) writes:
>Yuk!!
>
>I just got the game Nethack, version 2.3, and went to compile this beast.
>The make died on the first real source, with an error from *the assembler*!!!
>
>Seems that /bin/cc was putting out 'br.b' instructions when it had no good
>reason to think that the destination was close enough.

	This is a bug in the optimizer. compile these files without -O and
it should work fine.

>
>My questions is: does gnu cc do any better??
>
>Anyone out there compiled nethack with gcc, and selected bitfields???

	gcc does not exibit this bug, as far as I know, although I never tried
it.



-- 
					:alex.

nerwin!alex@umbc3.umd.edu
alex@umbc3.umd.edu