This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]