New bootstrap failure in libjava/gnu/gcj/runtime/natStackTrace.cc

Andrew Haley aph@redhat.com
Thu Dec 5 02:44:00 GMT 2002


Kaveh R. Ghazi writes:
 > > From: Graham Stott <graham.stott@btinternet.com>
 > > 
 > > Hi Andrew,
 > > This doesn't look like it'll work to me because p won't be initialised
 > > unless HAVE_BACKSPACE is defined and we'll end up dereferencing an
 > > unitialised pointer on line 74.
We won't, because len will be zero.
 > Indeed. When I add the patch and recompile, I get:
 > 
 > > natStackTrace.cc:51: warning: `void**p' might be used uninitialized in this function
It won't, but the compiler doesn't know that. I'll do something to
fix the warning.
Andrew.


More information about the Java mailing list

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