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

bangerth at dealii dot org gcc-bugzilla@gcc.gnu.org
Wed Mar 17 13:56:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list