[LLVMbugs] [Bug 17454] New: more missing builtins ... builtin_finitef, isfinite and others
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Oct 2 15:38:23 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=17454
Bug ID: 17454
Summary: more missing builtins ... builtin_finitef, isfinite
and others
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 11331
--> http://llvm.org/bugs/attachment.cgi?id=11331&action=edit
gcc test
rkotler at mipssw006:~/rt-rk-4doug/tmp$ ~/llvmw/install/bin/clang
../tests-c/pr28796-2.c -std=gnu89 -lm -O2
In file included from ../tests-c/pr28796-2.c:6:
../tests-c/tg-tests.h:35:7: error: use of unknown builtin '__builtin_isnanf'
[-Wimplicit-function-declaration]
if (__builtin_isnanf (f) != res_isnan)
^
../tests-c/tg-tests.h:35:7: note: did you mean '__builtin_isnan'?
../tests-c/tg-tests.h:29:7: note: '__builtin_isnan' declared here
if (__builtin_isnan (f) != res_isnan)
^
../tests-c/tg-tests.h:37:7: error: use of unknown builtin '__builtin_isnanl'
[-Wimplicit-function-declaration]
if (__builtin_isnanl (ld) != res_isnan)
^
../tests-c/tg-tests.h:46:7: error: use of unknown builtin '__builtin_isinff'
[-Wimplicit-function-declaration]
if (__builtin_isinff (f) != res_isinf)
^
../tests-c/tg-tests.h:46:7: note: did you mean '__builtin_isinf'?
../tests-c/tg-tests.h:40:7: note: '__builtin_isinf' declared here
if (__builtin_isinf (f) != res_isinf)
^
../tests-c/tg-tests.h:48:7: error: use of unknown builtin '__builtin_isinfl'
[-Wimplicit-function-declaration]
if (__builtin_isinfl (ld) != res_isinf)
^
../tests-c/tg-tests.h:72:7: error: use of unknown builtin '__builtin_finitef'
[-Wimplicit-function-declaration]
if (__builtin_finitef (f) != res_isfin)
^
../tests-c/tg-tests.h:72:7: note: did you mean '__builtin_isfinite'?
../tests-c/tg-tests.h:65:7: note: '__builtin_isfinite' declared here
if (__builtin_isfinite (f) != res_isfin)
^
../tests-c/tg-tests.h:74:7: error: use of unknown builtin '__builtin_finite'
[-Wimplicit-function-declaration]
if (__builtin_finite (f) != res_isfin)
^
../tests-c/tg-tests.h:74:7: note: did you mean '__builtin_finitef'?
../tests-c/tg-tests.h:72:7: note: '__builtin_finitef' declared here
if (__builtin_finitef (f) != res_isfin)
^
../tests-c/tg-tests.h:78:7: error: use of unknown builtin '__builtin_finitel'
[-Wimplicit-function-declaration]
if (__builtin_finitel (d) != res_isfin)
^
7 errors generated.
rkotler at mipssw006:~/rt-rk-4doug/tmp$
--
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/809cdad7/attachment.html>
More information about the llvm-bugs
mailing list