[llvm-bugs] [Bug 28056] New: The _MM_ALIGN16 attribute miscompiles for *unix targets
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Jun 8 12:36:28 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=28056
Bug ID: 28056
Summary: The _MM_ALIGN16 attribute miscompiles for *unix
targets
Product: clang
Version: trunk
Hardware: PC
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: Headers
Assignee: unassignedclangbugs at nondot.org
Reporter: zvi.rackover at intel.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
------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
--
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/20160608/187c0743/attachment.html>
More information about the llvm-bugs
mailing list