<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - misc missing math builtins"
   href="http://llvm.org/bugs/show_bug.cgi?id=17446">17446</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>misc missing math builtins
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.2
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>C++
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>rkotler@mips.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>dgregor@apple.com, llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=11323" name="attach_11323" title="gcc test">attachment 11323</a> <a href="attachment.cgi?id=11323&action=edit" title="gcc test">[details]</a></span>
gcc test

see attached test case__builtin_yn __builtin_ynl __builtin_y1
__builtin_y1f  __builtin_y0l __builtin_y0 __builtin_jn  __builtin_jn

kotler@mipssw006:~/rt-rk-4doug/tmp$ ~/llvmw/install/bin/clang
../tests-c/builtin-math-4.c
../tests-c/builtin-math-4.c:148:3: error: use of unknown builtin
      '__builtin_j0f' [-Wimplicit-function-declaration]
  TESTIT (j0, 0.0, 1.0); /* j0(0) == 1 */
  ^
../tests-c/builtin-math-4.c:25:7: note: expanded from macro 'TESTIT'
  if (__builtin_##FUNC##f(ARG##F) != RES##F \
      ^
<scratch space>:3:1: note: expanded from here
__builtin_j0f
^
../tests-c/builtin-math-4.c:148:3: error: use of unknown builtin '__builtin_j0'
      [-Wimplicit-function-declaration]
../tests-c/builtin-math-4.c:28:7: note: expanded from macro 'TESTIT'
  if (__builtin_##FUNC(ARG) != RES \
      ^
<scratch space>:3:1: note: expanded from here
__builtin_j0
^
../tests-c/builtin-math-4.c:148:3: note: did you mean '__builtin_j0f'?
../tests-c/builtin-math-4.c:28:7: note: expanded from macro 'TESTIT'
  if (__builtin_##FUNC(ARG) != RES \
      ^
<scratch space>:3:1: note: expanded from here
__builtin_j0
^
../tests-c/builtin-math-4.c:148:3: note: '__builtin_j0f' declared here
../tests-c/builtin-math-4.c:25:7: note: expanded from macro 'TESTIT'
  if (__builtin_##FUNC##f(ARG##F) != RES##F \
      ^
<scratch space>:3:1: note: expanded from here
__builtin_j0f
^
../tests-c/builtin-math-4.c:148:3: error: use of unknown builtin
      '__builtin_j0l' [-Wimplicit-function-declaration]
  TESTIT (j0, 0.0, 1.0); /* j0(0) == 1 */
  ^
../tests-c/builtin-math-4.c:31:7: note: expanded from macro 'TESTIT'
  if (__builtin_##FUNC##l(ARG##L) != RES##L \
      ^
<scratch space>:3:1: note: expanded from here
__builtin_j0l
^
../tests-c/builtin-math-4.c:153:3: error: use of unknown builtin
      '__builtin_j1f' [-Wimplicit-function-declaration]
  TESTIT (j1, 0.0, 0.0); /* j1(0) == 0 */
  ^
../tests-c/builtin-math-4.c:25:7: note: expanded from macro 'TESTIT'
  if (__builtin_##FUNC##f(ARG##F) != RES##F \
      ^
<scratch space>:3:1: note: expanded from here
__builtin_j1f
^
../tests-c/builtin-math-4.c:153:3: note: did you mean '__builtin_j0f'?
../tests-c/builtin-math-4.c:25:7: note: expanded from macro 'TESTIT'
  if (__builtin_##FUNC##f(ARG##F) != RES##F \
      ^
<scratch space>:3:1: note: expanded from here
__builtin_j1f
^
../tests-c/builtin-math-4.c:148:3: note: '__builtin_j0f' declared here
  TESTIT (j0, 0.0, 1.0); /* j0(0) == 1 */
  ^
../tests-c/builtin-math-4.c:25:7: note: expanded from macro 'TESTIT'
  if (__builtin_##FUNC##f(ARG##F) != RES##F \
      ^
<scratch space>:3:1: note: expanded from here
__builtin_j0f
^
../tests-c/builtin-math-4.c:153:3: error: use of unknown builtin '__builtin_j1'
      [-Wimplicit-function-declaration]
  TESTIT (j1, 0.0, 0.0); /* j1(0) == 0 */
  ^
../tests-c/builtin-math-4.c:28:7: note: expanded from macro 'TESTIT'
  if (__builtin_##FUNC(ARG) != RES \
      ^
<scratch space>:3:1: note: expanded from here
__builtin_j1
^
../tests-c/builtin-math-4.c:153:3: error: use of unknown builtin
      '__builtin_j1l' [-Wimplicit-function-declaration]
../tests-c/builtin-math-4.c:31:7: note: expanded from macro 'TESTIT'
  if (__builtin_##FUNC##l(ARG##L) != RES##L \
      ^
<scratch space>:3:1: note: expanded from here
__builtin_j1l
^
../tests-c/builtin-math-4.c:158:3: error: use of unknown builtin
      '__builtin_jnf' [-Wimplicit-function-declaration]
  TESTIT2 (jn, 5, 0.0, 0.0); /* jn(5,0) == 0 */
  ^
../tests-c/builtin-math-4.c:48:7: note: expanded from macro 'TESTIT2'
  if (__builtin_##FUNC##f(ARG1, ARG2##F) != RES##F \
      ^
<scratch space>:3:1: note: expanded from here
__builtin_jnf
^
../tests-c/builtin-math-4.c:158:3: error: use of unknown builtin '__builtin_jn'
      [-Wimplicit-function-declaration]
../tests-c/builtin-math-4.c:51:7: note: expanded from macro 'TESTIT2'
  if (__builtin_##FUNC(ARG1, ARG2) != RES \
      ^
<scratch space>:3:1: note: expanded from here
__builtin_jn
^
../tests-c/builtin-math-4.c:158:3: error: use of unknown builtin
      '__builtin_jnl' [-Wimplicit-function-declaration]
../tests-c/builtin-math-4.c:54:7: note: expanded from macro 'TESTIT2'
  if (__builtin_##FUNC##l(ARG1, ARG2##L) != RES##L \
      ^
<scratch space>:3:1: note: expanded from here
__builtin_jnl
^
../tests-c/builtin-math-4.c:188:3: error: use of unknown builtin
      '__builtin_y0f' [-Wimplicit-function-declaration]
  TESTIT_R (y0, 5.0, -0.31, -0.30); /* y0(5) == -0.308... */
  ^
../tests-c/builtin-math-4.c:38:7: note: expanded from macro 'TESTIT_R'
  if (__builtin_##FUNC##f(ARG) <= (LOW) || __builtin_##FUNC##f(ARG) >= (HI)) \
      ^
<scratch space>:189:1: note: expanded from here
__builtin_y0f
^
../tests-c/builtin-math-4.c:188:3: note: did you mean '__builtin_j0f'?
../tests-c/builtin-math-4.c:38:7: note: expanded from macro 'TESTIT_R'
  if (__builtin_##FUNC##f(ARG) <= (LOW) || __builtin_##FUNC##f(ARG) >= (HI)) \
      ^
<scratch space>:189:1: note: expanded from here
__builtin_y0f
^
../tests-c/builtin-math-4.c:148:3: note: '__builtin_j0f' declared here
  TESTIT (j0, 0.0, 1.0); /* j0(0) == 1 */
  ^
../tests-c/builtin-math-4.c:25:7: note: expanded from macro 'TESTIT'
  if (__builtin_##FUNC##f(ARG##F) != RES##F \
      ^
<scratch space>:3:1: note: expanded from here
__builtin_j0f
^
../tests-c/builtin-math-4.c:188:3: error: use of unknown builtin '__builtin_y0'
      [-Wimplicit-function-declaration]
  TESTIT_R (y0, 5.0, -0.31, -0.30); /* y0(5) == -0.308... */
  ^
../tests-c/builtin-math-4.c:40:7: note: expanded from macro 'TESTIT_R'
  if (__builtin_##FUNC(ARG) <= (LOW) || __builtin_##FUNC(ARG) >= (HI)) \
      ^
<scratch space>:189:1: note: expanded from here
__builtin_y0
^
../tests-c/builtin-math-4.c:188:3: error: use of unknown builtin
      '__builtin_y0l' [-Wimplicit-function-declaration]
../tests-c/builtin-math-4.c:42:7: note: expanded from macro 'TESTIT_R'
  if (__builtin_##FUNC##l(ARG) <= (LOW) || __builtin_##FUNC##l(ARG) >= (HI)) \
      ^
<scratch space>:189:1: note: expanded from here
__builtin_y0l
^
../tests-c/builtin-math-4.c:191:3: error: use of unknown builtin
      '__builtin_y1f' [-Wimplicit-function-declaration]
  TESTIT_R (y1, 5.0, 0.14, 0.15); /* y1(5) == 0.147... */
  ^
../tests-c/builtin-math-4.c:38:7: note: expanded from macro 'TESTIT_R'
  if (__builtin_##FUNC##f(ARG) <= (LOW) || __builtin_##FUNC##f(ARG) >= (HI)) \
      ^
<scratch space>:189:1: note: expanded from here
__builtin_y1f
^
../tests-c/builtin-math-4.c:191:3: error: use of unknown builtin '__builtin_y1'
      [-Wimplicit-function-declaration]
../tests-c/builtin-math-4.c:40:7: note: expanded from macro 'TESTIT_R'
  if (__builtin_##FUNC(ARG) <= (LOW) || __builtin_##FUNC(ARG) >= (HI)) \
      ^
<scratch space>:189:1: note: expanded from here
__builtin_y1
^
../tests-c/builtin-math-4.c:191:3: error: use of unknown builtin
      '__builtin_y1l' [-Wimplicit-function-declaration]
../tests-c/builtin-math-4.c:42:7: note: expanded from macro 'TESTIT_R'
  if (__builtin_##FUNC##l(ARG) <= (LOW) || __builtin_##FUNC##l(ARG) >= (HI)) \
      ^
<scratch space>:189:1: note: expanded from here
__builtin_y1l
^
../tests-c/builtin-math-4.c:194:3: error: use of unknown builtin
      '__builtin_ynf' [-Wimplicit-function-declaration]
  TESTIT2_R (yn, -1, 3.0, -0.33, -0.32); /* yn(-1,3) == -0.324... */
  ^
../tests-c/builtin-math-4.c:61:7: note: expanded from macro 'TESTIT2_R'
  if (__builtin_##FUNC##f(ARG1, ARG2##F) <= (LOW) \
      ^
<scratch space>:189:1: note: expanded from here
__builtin_ynf
^
../tests-c/builtin-math-4.c:194:3: error: use of unknown builtin '__builtin_yn'
      [-Wimplicit-function-declaration]
../tests-c/builtin-math-4.c:64:7: note: expanded from macro 'TESTIT2_R'
  if (__builtin_##FUNC(ARG1, ARG2) <= (LOW) \
      ^
<scratch space>:189:1: note: expanded from here
__builtin_yn
^
../tests-c/builtin-math-4.c:194:3: error: use of unknown builtin
      '__builtin_ynl' [-Wimplicit-function-declaration]
../tests-c/builtin-math-4.c:67:7: note: expanded from macro 'TESTIT2_R'
  if (__builtin_##FUNC##l(ARG1, ARG2##L) <= (LOW) \
      ^
<scratch space>:189:1: note: expanded from here
__builtin_ynl
^
18 errors generated</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>