A new (to me) bug in /bin/cc
Alex S. Crain
alex at umbc3.UMD.EDU
Tue Jun 28 03:47:18 AEST 1988
In article <425 at kosman.UUCP> kevin at 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 at umbc3.umd.edu
alex at umbc3.umd.edu
More information about the Unix-pc.general
mailing list