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]
Other format: [Raw text]

[Bug c/14611] static unsigned int small= -1U;


------- Additional Comments From bangerth at dealii dot org  2004-03-17 13:56 -------
Indeed. It should really not be that hard to see that an _unsigned_ variable 
can't have the value -1 and that the compiler is obviously supposed to do 
something about that value when you assign it to an unsigned number! 
 

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14611


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