From a314afe6582302d1764d1b85557ec47174acd60f Mon Sep 17 00:00:00 2001 From: Dale Johannesen Date: Wed, 1 Sep 2010 21:57:20 +0000 Subject: [PATCH] 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 --- test/FrontendC/misaligned-param.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/FrontendC/misaligned-param.c b/test/FrontendC/misaligned-param.c index 8118ce49ccd..b4fcfe312f5 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) {