[mod.os.os9] Os9/68000 C

os9@nyit.UUCP (OS9 News) (02/20/86)

Is this list interested in bug reports?  Here is a couple of
examples on microware os9/68000 C version 1.3:

[moderator's note: Bug reports are OK with me, does anyone mind? If
the sender wishes, I can forward them to Kim Kempf at Microware. -bp]

Casting to a smaller data type in many instances does not produce
the correct code.  Microware stated that this was a known bug and
will be fixed in version 2.0 of the C compiler, "available mid-
February".

There are a couple of problems with the -d compiler option.  One
of these silently causes incorect code, the other gives an error
message as well as correct code.  Microware states these problems
are "under investigation".  (In the mean time I avoid the -d compiler
option.  The #define statement works fine.)

The meanings of the values returned by the getstat function to determine
the number of characters waiting is different than for the os9/6809
c compiler.  (0 means "at least one character is ready" on the
6809, and "no characters are ready" on the 68000.)  This difference is 
only documented by comparing the two manuals.

I've found one more bug which I will investigate further and report to
microware and this list if you are interested.
-- 
Bob Larson
Arpa: Blarson@Usc-Ecl.Arpa
Uucp: ihnp4!sdcrdcf!oberon!blarson

-- 
---
516-686-7644 (Bruce Perens or Alex Arthur)
{allegra,seismo,decvax,vax135,ihnp4,mcvax}!philabs!nyit!os9
nyit!os9%suny-sb.CSnet@CSnet-Relay.ARPA

OS-9 and BASIC09 are trademarks of Microware Systems Corporation and Motorola.
mod.os.os9 is a personal (not an NYIT) project.