This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/14088] New: Hexfloat constants with uppercase 0X prefix fail
- From: "dannysmith at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Feb 2004 23:41:02 -0000
- Subject: [Bug middle-end/14088] New: Hexfloat constants with uppercase 0X prefix fail
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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