[LLVMbugs] [Bug 17448] New: builtin_nan not supported

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Oct 2 12:37:19 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=17448

            Bug ID: 17448
           Summary: builtin_nan not supported
           Product: clang
           Version: 3.2
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: rkotler at mips.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 11325
  --> http://llvm.org/bugs/attachment.cgi?id=11325&action=edit
gcc test case

rkotler at mipssw006:~/rt-rk-4doug/tmp$ ~/llvmw/install/bin/clang
../tests-c/builtin-nan-1.c 
../tests-c/builtin-nan-1.c:9:13: error: initializer element is not a
      compile-time constant
double n2 = __builtin_nan("0X1");
            ^~~~~~~~~~~~~~~~~~~~
1 error generated.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20131002/be571095/attachment.html>


More information about the llvm-bugs mailing list