This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Recent java warnings reveal bugs (?)
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Subject: Re: Recent java warnings reveal bugs (?)
- From: Alexandre Petit-Bianco <apbianco at cygnus dot com>
- Date: Thu, 29 Jun 2000 20:56:29 -0700 (PDT)
- Cc: gcc-bugs at gcc dot gnu dot org
- References: <200005091732.NAA03257@caip.rutgers.edu>
- Reply-To: apbianco at redhat dot com
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