summaryrefslogtreecommitdiff
path: root/test/FrontendC/misaligned-param.c
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2010-09-01 21:57:20 +0000
committerDale Johannesen <dalej@apple.com>2010-09-01 21:57:20 +0000
commita314afe6582302d1764d1b85557ec47174acd60f (patch)
treec99b1fad0b3cb7d996e7f10aca05fd822c40029e /test/FrontendC/misaligned-param.c
parent662fb77687c7a40db72144bb9104bf886705cc85 (diff)
downloadllvm-a314afe6582302d1764d1b85557ec47174acd60f.tar.gz
llvm-a314afe6582302d1764d1b85557ec47174acd60f.tar.bz2
llvm-a314afe6582302d1764d1b85557ec47174acd60f.tar.xz
Apparently only Darwin passes long double misaligned. Compensate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112748 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FrontendC/misaligned-param.c')
-rw-r--r--test/FrontendC/misaligned-param.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/FrontendC/misaligned-param.c b/test/FrontendC/misaligned-param.c
index 8118ce49cc..b4fcfe312f 100644
--- a/test/FrontendC/misaligned-param.c
+++ b/test/FrontendC/misaligned-param.c
@@ -1,7 +1,7 @@
// RUN: %llvmgcc %s -m32 -S -o - | FileCheck %s
// Misaligned parameter must be memcpy'd to correctly aligned temporary.
// XFAIL: *
-// XTARGET: i386,i686,x86_64
+// XTARGET: i386-apple-darwin,i686-apple-darwin,x86_64-apple-darwin
struct s { int x; long double y; };
long double foo(struct s x, int i, struct s y) {