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.

-- 
- Geoffrey Keating <geoffk@cygnus.com>

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