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: New bootstrap failure in libjava/gnu/gcj/runtime/natStackTrace.cc


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.


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