This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Why does GCJ generate so many explicit checks for null pointers?
- From: Jeff Sturm <jsturm at one-point dot com>
- To: Andrew Haley <aph at redhat dot com>
- Cc: David Daney <ddaney at avtrex dot com>, <tromey at redhat dot com>, <java at gcc dot gnu dot org>
- Date: Tue, 29 Jul 2003 10:35:44 -0400 (EDT)
- Subject: Re: Why does GCJ generate so many explicit checks for null pointers?
On Tue, 29 Jul 2003, Andrew Haley wrote:
> > Currently only a few java-specific optimizations are done by gcj.
>
> Null pointer check elimination isn't really Java specific.
I suppose you're right, but I can think offhand of another GCC language
that cares about null pointer checks. Ada, perhaps?
Jeff