This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


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

Re: Recent java warnings reveal bugs (?)



Kaveh R. Ghazi writes:

> jcf-write.c:
>  >           || (hi == -1 && (jword)(lo & 0xFFFFFFFF) >= -32768))
> 
> 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.

Yes. I just checked in a patch:

  http://gcc.gnu.org/ml/gcc-patches/2000-06/msg01055.html

./A

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