[Bug c++/56658] Silent conversion between 'char' and 'int' even though there are 'signed char' and 'unsigned char' alternatives
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 20 10:58:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56658
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> 2013-03-20 10:58:22 UTC ---
char is simply subject to integral promotions if there is no exact match,
those come before conversions are considered. char is _not_ equal to
either unsigned char or signed char!
More information about the Gcc-bugs
mailing list