[LLVMbugs] [Bug 17450] New: more misc math builtings missing llfloor....

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Oct 2 12:43:49 PDT 2013


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

            Bug ID: 17450
           Summary: more misc math builtings missing llfloor....
           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 11327
  --> http://llvm.org/bugs/attachment.cgi?id=11327&action=edit
gcc flles

rkotler at mipssw006:~/rt-rk-4doug/tmp$ ~/llvmw/install/bin/clang
../tests-c/builtin-rounding-1.c 
../tests-c/builtin-rounding-1.c:26:3: error: use of unknown builtin
      '__builtin_lfloor' [-Wimplicit-function-declaration]
  TEST(lfloor,  0, 0);
  ^
../tests-c/builtin-rounding-1.c:13:7: note: expanded from macro 'TEST'
  if (__builtin_##FN (VALUE) != RESULT) link_error (__LINE__); \
      ^
<scratch space>:50:1: note: expanded from here
__builtin_lfloor
^
../tests-c/builtin-rounding-1.c:26:3: note: did you mean '__builtin_floor'?
../tests-c/builtin-rounding-1.c:13:7: note: expanded from macro 'TEST'
  if (__builtin_##FN (VALUE) != RESULT) link_error (__LINE__); \
      ^
<scratch space>:50:1: note: expanded from here
__builtin_lfloor
^
../tests-c/builtin-rounding-1.c:21:3: note: '__builtin_floor' declared here
  TEST(floor,   0, 0);
  ^
../tests-c/builtin-rounding-1.c:13:7: note: expanded from macro 'TEST'
  if (__builtin_##FN (VALUE) != RESULT) link_error (__LINE__); \
      ^
<scratch space>:10:1: note: expanded from here
__builtin_floor
^
../tests-c/builtin-rounding-1.c:26:3: error: use of unknown builtin
      '__builtin_lfloorf' [-Wimplicit-function-declaration]
  TEST(lfloor,  0, 0);
  ^
../tests-c/builtin-rounding-1.c:14:7: note: expanded from macro 'TEST'
  if (__builtin_##FN##f (VALUE) != RESULT) link_error (__LINE__); \
      ^
<scratch space>:50:1: note: expanded from here
__builtin_lfloorf
^
../tests-c/builtin-rounding-1.c:26:3: error: use of unknown builtin
      '__builtin_lfloorl' [-Wimplicit-function-declaration]
../tests-c/builtin-rounding-1.c:15:7: note: expanded from macro 'TEST'
  if (__builtin_##FN##l (VALUE) != RESULT) link_error (__LINE__); \
      ^
<scratch space>:50:1: note: expanded from here
__builtin_lfloorl
^
../tests-c/builtin-rounding-1.c:27:3: error: use of unknown builtin
      '__builtin_llfloor' [-Wimplicit-function-declaration]
  TEST(llfloor, 0, 0);
  ^
../tests-c/builtin-rounding-1.c:13:7: note: expanded from macro 'TEST'
  if (__builtin_##FN (VALUE) != RESULT) link_error (__LINE__); \
      ^
<scratch space>:50:1: note: expanded from here
__builtin_llfloor
^
../tests-c/builtin-rounding-1.c:27:3: note: did you mean '__builtin_lfloor'?
../tests-c/builtin-rounding-1.c:13:7: note: expanded from macro 'TEST'
  if (__builtin_##FN (VALUE) != RESULT) link_error (__LINE__); \
      ^
<scratch space>:50:1: note: expanded from here
__builtin_llfloor
^
../tests-c/builtin-rounding-1.c:26:3: note: '__builtin_lfloor' declared here
  TEST(lfloor,  0, 0);
  ^
../tests-c/builtin-rounding-1.c:13:7: note: expanded from macro 'TEST'
  if (__builtin_##FN (VALUE) != RESULT) link_error (__LINE__); \
      ^
<scratch space>:50:1: note: expanded from here
__builtin_lfloor
^
../tests-c/builtin-rounding-1.c:27:3: error: use of unknown builtin
      '__builtin_llfloorf' [-Wimplicit-function-declaration]
  TEST(llfloor, 0, 0);
  ^
../tests-c/builtin-rounding-1.c:14:7: note: expanded from macro 'TEST'
  if (__builtin_##FN##f (VALUE) != RESULT) link_error (__LINE__); \
      ^
<scratch space>:50:1: note: expanded from here
__builtin_llfloorf
^
../tests-c/builtin-rounding-1.c:27:3: error: use of unknown builtin
      '__builtin_llfloorl' [-Wimplicit-function-declaration]
../tests-c/builtin-rounding-1.c:15:7: note: expanded from macro 'TEST'
  if (__builtin_##FN##l (VALUE) != RESULT) link_error (__LINE__); \
      ^
<scratch space>:50:1: note: expanded from here
__builtin_llfloorl
^
../tests-c/builtin-rounding-1.c:28:3: error: use of unknown builtin
      '__builtin_lceil' [-Wimplicit-function-declaration]
  TEST(lceil,  0, 0);
  ^
../tests-c/builtin-rounding-1.c:13:7: note: expanded from macro 'TEST'
  if (__builtin_##FN (VALUE) != RESULT) link_error (__LINE__); \
      ^
<scratch space>:50:1: note: expanded from here
__builtin_lceil
^
../tests-c/builtin-rounding-1.c:28:3: note: did you mean '__builtin_ceil'?
../tests-c/builtin-rounding-1.c:13:7: note: expanded from macro 'TEST'
  if (__builtin_##FN (VALUE) != RESULT) link_error (__LINE__); \
      ^
<scratch space>:50:1: note: expanded from here
__builtin_lceil
^
../tests-c/builtin-rounding-1.c:22:3: note: '__builtin_ceil' declared here
  TEST(ceil,    0, 0);
  ^
../tests-c/builtin-rounding-1.c:13:7: note: expanded from macro 'TEST'
  if (__builtin_##FN (VALUE) != RESULT) link_error (__LINE__); \
      ^
<scratch space>:18:1: note: expanded from here
__builtin_ceil
^
../tests-c/builtin-rounding-1.c:28:3: error: use of unknown builtin
      '__builtin_lceilf' [-Wimplicit-function-declaration]
  TEST(lceil,  0, 0);
  ^
../tests-c/builtin-rounding-1.c:14:7: note: expanded from macro 'TEST'
  if (__builtin_##FN##f (VALUE) != RESULT) link_error (__LINE__); \
      ^
<scratch space>:50:1: note: expanded from here
__builtin_lceilf
^
../tests-c/builtin-rounding-1.c:28:3: error: use of unknown builtin
      '__builtin_lceill' [-Wimplicit-function-declaration]
../tests-c/builtin-rounding-1.c:15:7: note: expanded from macro 'TEST'
  if (__builtin_##FN##l (VALUE) != RESULT) link_error (__LINE__); \
      ^
<scratch space>:50:1: note: expanded from here
__builtin_lceill
^
../tests-c/builtin-rounding-1.c:29:3: error: use of unknown builtin
      '__builtin_llceil' [-Wimplicit-function-declaration]
  TEST(llceil, 0, 0);
  ^
../tests-c/builtin-rounding-1.c:13:7: note: expanded from macro 'TEST'
  if (__builtin_##FN (VALUE) != RESULT) link_error (__LINE__); \
      ^
<scratch space>:50:1: note: expanded from here
__builtin_llceil
^
../tests-c/builtin-rounding-1.c:29:3: note: did you mean '__builtin_lceil'?
../tests-c/builtin-rounding-1.c:13:7: note: expanded from macro 'TEST'
  if (__builtin_##FN (VALUE) != RESULT) link_error (__LINE__); \
      ^
<scratch space>:50:1: note: expanded from here
__builtin_llceil
^
../tests-c/builtin-rounding-1.c:28:3: note: '__builtin_lceil' declared here
  TEST(lceil,  0, 0);
  ^
../tests-c/builtin-rounding-1.c:13:7: note: expanded from macro 'TEST'
  if (__builtin_##FN (VALUE) != RESULT) link_error (__LINE__); \
      ^
<scratch space>:50:1: note: expanded from here
__builtin_lceil
^
../tests-c/builtin-rounding-1.c:29:3: error: use of unknown builtin
      '__builtin_llceilf' [-Wimplicit-function-declaration]
  TEST(llceil, 0, 0);
  ^
../tests-c/builtin-rounding-1.c:14:7: note: expanded from macro 'TEST'
  if (__builtin_##FN##f (VALUE) != RESULT) link_error (__LINE__); \
      ^
<scratch space>:50:1: note: expanded from here
__builtin_llceilf
^
../tests-c/builtin-rounding-1.c:29:3: error: use of unknown builtin
      '__builtin_llceill' [-Wimplicit-function-declaration]
../tests-c/builtin-rounding-1.c:15:7: note: expanded from macro 'TEST'
  if (__builtin_##FN##l (VALUE) != RESULT) link_error (__LINE__); \
      ^
<scratch space>:50:1: note: expanded from here
__builtin_llceill
^

-- 
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/ab48b25e/attachment.html>


More information about the llvm-bugs mailing list