From: Bob Wilson Date: Thu, 2 Dec 2010 17:31:16 +0000 (+0000) Subject: Attempt to fix linux buildbots by adding -ffreestanding for arm_neon tests. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=550e5ada63dc7c77263abe9a7e14053767a926a4;p=clang Attempt to fix linux buildbots by adding -ffreestanding for arm_neon tests. The arm_neon.h header includes stdint.h and it picks up the system header without -ffreestanding. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120716 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Headers/arm-neon-header.c b/test/Headers/arm-neon-header.c index e119041110..90ea22bc96 100644 --- a/test/Headers/arm-neon-header.c +++ b/test/Headers/arm-neon-header.c @@ -1,5 +1,5 @@ -// RUN: %clang_cc1 -triple thumbv7-apple-darwin10 -target-cpu cortex-a8 -fsyntax-only -Wvector-conversions -verify %s -// RUN: %clang_cc1 -triple thumbv7-apple-darwin10 -target-cpu cortex-a8 -fsyntax-only -fno-lax-vector-conversions -verify %s -// RUN: %clang_cc1 -x c++ -triple thumbv7-apple-darwin10 -target-cpu cortex-a8 -fsyntax-only -Wvector-conversions -verify %s +// RUN: %clang_cc1 -triple thumbv7-apple-darwin10 -target-cpu cortex-a8 -fsyntax-only -Wvector-conversions -ffreestanding %s +// RUN: %clang_cc1 -triple thumbv7-apple-darwin10 -target-cpu cortex-a8 -fsyntax-only -fno-lax-vector-conversions -ffreestanding %s +// RUN: %clang_cc1 -x c++ -triple thumbv7-apple-darwin10 -target-cpu cortex-a8 -fsyntax-only -Wvector-conversions -ffreestanding %s #include diff --git a/test/Sema/arm-neon-types.c b/test/Sema/arm-neon-types.c index 40513c4ff7..152d4c9b9a 100644 --- a/test/Sema/arm-neon-types.c +++ b/test/Sema/arm-neon-types.c @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -triple thumbv7-apple-darwin10 -target-cpu cortex-a8 -fsyntax-only -Wvector-conversions -verify %s +// RUN: %clang_cc1 -triple thumbv7-apple-darwin10 -target-cpu cortex-a8 -fsyntax-only -Wvector-conversions -ffreestanding -verify %s #include