From bd7c1696640b4a63b3d930dfc0719ed428fbd88f Mon Sep 17 00:00:00 2001 From: Tim Northover Date: Wed, 16 Jan 2013 20:35:54 +0000 Subject: [PATCH] Fix recent test for more diverse environments. I think the main issue was the lack of -ffreestanding, which pulled in the host's stdint.h. After that things went rapidly downhill. llvm-svn: 172653 --- clang/test/CodeGen/arm-neon-fma.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/clang/test/CodeGen/arm-neon-fma.c b/clang/test/CodeGen/arm-neon-fma.c index 7511fe1..994702d 100644 --- a/clang/test/CodeGen/arm-neon-fma.c +++ b/clang/test/CodeGen/arm-neon-fma.c @@ -1,6 +1,9 @@ // REQUIRES: arm-registered-target -// RUN: %clang -target thumbv7-none-linux-gnueabihf \ -// RUN: -mcpu=cortex-a8 -mfloat-abi=hard \ +// RUN: %clang_cc1 -triple thumbv7-none-linux-gnueabihf \ +// RUN: -target-abi aapcs \ +// RUN: -target-cpu cortex-a8 \ +// RUN: -mfloat-abi hard \ +// RUN: -ffreestanding \ // RUN: -O3 -S -emit-llvm -o - %s | FileCheck %s #include -- 2.7.4