This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Null pointer check elimination
Diego Novillo <dnovillo@redhat.com> writes:
| On Saturday 12 November 2005 12:27, Per Bothner wrote:
|
| > I think you're missing the point. The proposal is for a "type variant"
| > - not that different from say "constant".
| >
| Ah, yes, sorry about that. Yes, that would be useful as well. However,
| that is an orthogonal issue to having non-NULL function attributes. We
| can use both.
I'm not convinced. I believe Per's suggestion is far superior, and
more general and does cover pretty well the issue at hand. Plus,
a pointer-type-without-null is another spelling for reference type.
-- Gaby