[Bug c++/20019] incorrect overflow warning
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Feb 17 13:41:00 GMT 2005
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-17 03:14 -------
No the warning is correct as char on a lot of targets is signed by default so promoting (char)0x80 to int
will give 0xFFFFFF80.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20019
More information about the Gcc-bugs
mailing list