[Bug middle-end/14088] New: Hexfloat constants with uppercase 0X prefix fail
dannysmith at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Feb 9 23:41:00 GMT 2004
Uppercase 0X as heaxadecimal prefix to hex float consts cause value to be
interpreted as 0
This fails:
#define x1 (double)0x1p1
#define x2 (double)0X1p1
char tst[(x1 == x2) ? 1 : -1];
--
Summary: Hexfloat constants with uppercase 0X prefix fail
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dannysmith at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-mingw32
GCC host triplet: i686-pc-mingw32
GCC target triplet: i686-pc-mingw32
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14088
More information about the Gcc-bugs
mailing list