Why does GCJ generate so many explicit checks for null pointers?

Tom Tromey tromey@redhat.com
Tue Jul 29 15:15:00 GMT 2003


>>>>> "Jeff" == Jeff Sturm <jsturm@one-point.com> writes:

Jeff> But malloc can return NULL, right? From what I understand the
Jeff> malloc attribute is a hint for alias analysis, and doesn't say
Jeff> anything about the null-ness of its return value.
Duh on me, you're right.
Maybe we need some new internal attribute.
This sounds like something to put in bugzilla.
Tom


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /