<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 --- - builtins va_arg_pack and va_arg_pack_len not implemented"
href="http://llvm.org/bugs/show_bug.cgi?id=17457">17457</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>builtins va_arg_pack and va_arg_pack_len not implemented
</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=11333" name="attach_11333" title="gcc test">attachment 11333</a> <a href="attachment.cgi?id=11333&action=edit" title="gcc test">[details]</a></span>
gcc test
/home/rkotler/llvmw/install/bin/../lib/clang/3.4/include/stdarg.h:33:29: note:
expanded from macro 'va_start'
#define va_start(ap, param) __builtin_va_start(ap, param)
^
1 error generated.
rkotler@mipssw006:~/rt-rk-4doug/tmp$ ~/llvmw/install/bin/clang
../tests-c/va-arg-pack-len-1.c -target mips-linux-gnu-gcc
-gcc-toolchain
/mips/arch/overflow/codesourcery/mips-linux-gnu/lite/release/2011.09-75/Linux
-EL -Os -std=gnu89 -mips16 -lm
../tests-c/va-arg-pack-len-1.c:7:18: warning: unknown attribute '__error__'
ignored [-Wattributes]
__attribute__((__error__ ("open with O_CREAT needs 3 arguments, only ...
^
../tests-c/va-arg-pack-len-1.c:9:18: warning: unknown attribute '__warning__'
ignored [-Wattributes]
__attribute__((__warning__ ("open called with more than 3 arguments")));
^
../tests-c/va-arg-pack-len-1.c:81:7: error: use of unknown builtin
'__builtin_va_arg_pack_len' [-Wimplicit-function-declaration]
if (__builtin_va_arg_pack_len () > 1)
^
../tests-c/va-arg-pack-len-1.c:91:37: error: use of unknown builtin
'__builtin_va_arg_pack' [-Wimplicit-function-declaration]
return myopenva (path, oflag, __builtin_va_arg_pack ());
^
../tests-c/va-arg-pack-len-1.c:91:37: note: did you mean
'__builtin_va_arg_pack_len'?
../tests-c/va-arg-pack-len-1.c:81:7: note: '__builtin_va_arg_pack_len' declared
here
if (__builtin_va_arg_pack_len () > 1)
^
2 warnings and 2 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>