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: Bogus warning?


> Brad Lucier <lucier@math.purdue.edu> writes:
> 
> > if (((unsigned long)(x)<(unsigned int)( (((long)1<<((8*(1<<3))-2-1))-1)+1)))
> 
> > As far as I can tell, the right hand side is not zero on the alpha.
> 
> Sure it is, 'unsigned int' is 32 bits even on alpha.

Yes, of course, thank you.  (It's funny how you can stare at things,
and even extract them from a much larger program, and still not see.)

Brad

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