<html>
<head>
<base href="https://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 --- - The _MM_ALIGN16 attribute miscompiles for *unix targets"
href="https://llvm.org/bugs/show_bug.cgi?id=28056">28056</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>The _MM_ALIGN16 attribute miscompiles for *unix targets
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>MacOS X
</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>Headers
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>zvi.rackover@intel.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>------test.c------------
#include <xmmintrin.h>
_MM_ALIGN16 char c;
------------------------
clang -cc1 test.c -ffreestanding -triple x86_64-apple-macosx10.9.0
repro.c:4:1: error: unknown type name '_MM_ALIGN16'
_MM_ALIGN16 char c;
^
repro.c:4:13: error: expected identifier or '('
_MM_ALIGN16 char c;
^
2 errors generated.
------------------------
<xmmintrin.h> seems to support _MM_ALIGN16 only on Windows:
#ifdef _MSC_VER
#define _MM_ALIGN16 __declspec(align(16))
#endif</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>