[Bug c++/23807] Mixed-type arithmetic error

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Sep 10 15:42:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-10 15:42 -------
    unsigned int res = ~us;

Is equivant to:
    unsigned int res = ~(int)us;


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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



More information about the Gcc-bugs mailing list