Common malloc/free practice violates ANSI standard ?

Norman Diamond diamond at csl.sony.co.jp
Wed Oct 18 11:32:11 AEST 1989


In article <1151 at crdos1.crd.ge.COM> davidsen at crdos1.UUCP (bill davidsen) writes:

>  When I started reading [a] post I thought you were going to make the
>point that you can't have C on a machine which has no single most
>restrictive boundary, such as ints start odd and double start even.
>Fortunately I can't think of a reason to build such a machine, even to
>start an argument.

Whether there was a reason or not, IBM once built one.  Well, ints and
floats were unrestricted, but instructions were addressed by even
addresses and strings were addressed by odd addresses.  True, you
couldn't put C on it.

-- 
Norman Diamond, Sony Corp. (diamond%ws.sony.junet at uunet.uu.net seems to work)
  Should the preceding opinions be caught or     |  James Bond asked his
  killed, the sender will disavow all knowledge  |  ATT rep for a source
  of their activities or whereabouts.            |  licence to "kill".



More information about the Comp.std.c mailing list