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: Tom Tromey <tromey at redhat dot com>
- To: Jeff Sturm <jsturm at one-point dot com>
- Cc: Andrew Haley <aph at redhat dot com>, David Daney <ddaney at avtrex dot com>, <java at gcc dot gnu dot org>
- Date: 29 Jul 2003 09:05:19 -0600
- Subject: Re: Why does GCJ generate so many explicit checks for null pointers?
- References: <Pine.LNX.4.44.0307291032370.10041-100000@ops2.one-point.com>
- Reply-to: tromey at redhat dot com
>>>>> "Jeff" == Jeff Sturm <jsturm@one-point.com> writes:
Jeff> I suppose you're right, but I can think offhand of another GCC
Jeff> language that cares about null pointer checks. Ada, perhaps?
We have -fdelete-null-pointer-checks, but I gather that is used to
remove user checks. Still, that could be useful for us. We could
enable it in the .spec file.
Tom