This is the mail archive of the gcc@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: comparisons..


Richard Henderson wrote:

> On Fri, Jul 14, 2000 at 01:14:59PM +0200, Toon Moene wrote:
> > I always wondered whether it would be possible to drop the warning in
> > case the signed constant has the same value when interpreted as an
> > unsigned value.

> We do do this.

Well, the simple example works, but then why does gcc warn on
loop.c:9839:

             && VARRAY_INT (n_times_set, REGNO (SET_DEST (set))) == 1

?

-- 
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
GNU Fortran 95: http://g95.sourceforge.net/ (under construction)

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