Recent java warnings reveal bugs (?)

Alexandre Petit-Bianco apbianco@cygnus.com
Sun May 14 00:20:00 GMT 2000


Kaveh R. Ghazi writes:

> In the above case, rlist is definitely uninitialized when the if
> statement's clause isn't taken.  Perhaps the last statement setting
> `list' should be in the if-clause within braces?

Yes. Zack has an unchecked patch to fix this problem:

  http://gcc.gnu.org/ml/gcc-patches/2000-04/msg00040.html

> Here it looks like jword (an unsigned value) is being compared against
> a negative value.  If it is intentional then the negative value
> probably should be cast to a jword.

Oops. Yes. I'll patch the tree soon.

./A


More information about the Gcc-bugs mailing list