Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!edison.cho.ge.com!rja From: rja@edison.cho.ge.com (rja) Newsgroups: comp.lang.c Subject: Re: What C compilers have non-zero null pointers? Message-ID: <9007161750.AA00664@edison.CHO.GE.COM> Date: 16 Jul 90 17:50:01 GMT References: Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: rja Organization: GE-Fanuc North America Lines: 8 I used to use a compiler for MSDOS and the 80x86 cpus whose NULL pointer was F000:0000 hex when examined via a debugger. It of course did compile fine as long as one used sense and compared pointers to NULL rather than a constant of zero... Compilers where NULL isn't represented as all zero bits just aren't that uncommon.