This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Removal of useless null pointer checks
- To: Jeffrey A Law <law at cygnus dot com>
- Subject: Re: Removal of useless null pointer checks
- From: Richard Henderson <rth at cygnus dot com>
- Date: Tue, 21 Sep 1999 19:24:28 -0700
- Cc: John Vickers <John dot Vickers at PaceMicro dot com>, gcc-patches at gcc dot gnu dot org
- References: <37E76FD9.56F681E9@PaceMicro.com> <5222.937966070@upchuck.cygnus.com>
On Tue, Sep 21, 1999 at 08:07:50PM -0600, Jeffrey A Law wrote:
> Hmm, in a non-hosted (aka freestanding) environment it may be reasonable
> to have things at address zero.
I can't believe folks can reasonably put objects *at* address zero
(as opposed to near zero) even in a non-hosted environment. Despite
standards that leave things squishy in this area, it's now too deeply
ingrained that 0 == NULL.
r~