This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Java on uClinux (was: Null pointer check elimination)
David Daney wrote:
Perhaps not in general, but one unstated premise of this whole thread is
that for some GCC targets (most Unix like operating systems) you *can*
count on a SIGSEGV when you dereference a null pointer. The java front
end takes advantage of this fact to eliminate explicit checks for
dereferencing of null pointers.
Oh.
Speaking of which, has anyone ported gcj to a MMU-less uClinux platform yet?
Bernd