<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 --- - mode(SI) not supported"
href="http://llvm.org/bugs/show_bug.cgi?id=17453">17453</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>mode(SI) not supported
</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=11330" name="attach_11330" title="gcc test">attachment 11330</a> <a href="attachment.cgi?id=11330&action=edit" title="gcc test">[details]</a></span>
gcc test
rkotler@mipssw006:~/rt-rk-4doug/tmp$ ~/llvmw/install/bin/clang
../tests-c/pr23135.c -std=gnu89 -lm
../tests-c/pr23135.c:10:28: error: mode attribute only supported for integer
and floating-point types
typedef int __attribute__((mode(SI))) __attribute__((vector_size (8))) vecint;
^
../tests-c/pr23135.c:13:19: warning: excess elements in scalar initializer
vecint i = { 150, 100 };
^~~
../tests-c/pr23135.c:14:18: warning: excess elements in scalar initializer
vecint j = { 10, 13 };
^~
../tests-c/pr23135.c:27:5: warning: implicitly declaring library function
'abort' with type 'void (void) __attribute__((noreturn))'
abort ();
^
../tests-c/pr23135.c:27:5: note: please include the header <stdlib.h> or
explicitly provide a declaration for 'abort'
../tests-c/pr23135.c:133:3: warning: implicitly declaring library function
'exit' with type 'void (int) __attribute__((noreturn))'
exit (0);
^
../tests-c/pr23135.c:133:3: note: please include the header <stdlib.h> or
explicitly provide a declaration for 'exit'
4 warnings and 1 error generated.
rkotler@mipssw006:~/rt-rk-4doug/tmp$</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>