[Bug middle-end/19983] __builtin_nan should allow 0X as well as 0x
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Feb 16 03:31:00 GMT 2005
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-15 21:28 -------
The bug is very obvious from the code:
if (*str == '0')
{
if (*++str == 'x')
str++, base = 16;
else
base = 8;
}
Note no check for the upercase version of 'X'. (yes I know about the talk about -fwide-exec-charset=
and -finput-charset=).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19983
More information about the Gcc-bugs
mailing list