[Bug middle-end/19983] New: __builtin_nan should allow 0X as well as 0x

jsm28 at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Feb 16 01:09:00 GMT 2005


The __builtin_nan functions should allow 0X as well as 0x in their arguments.
real.c:real_nan only allows 0x at present.  In

double n1 = __builtin_nan("0x1");
double n2 = __builtin_nan("0X1");

only the first initializer is accepted, but both should be.

-- 
           Summary: __builtin_nan should allow 0X as well as 0x
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jsm28 at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19983



More information about the Gcc-bugs mailing list