]> granicus.if.org Git - clang/commitdiff
test/CodeGen/sse-builtins.c: Make this host-independent to unbreak posix-unlike hosts.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 16 Sep 2011 03:55:36 +0000 (03:55 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 16 Sep 2011 03:55:36 +0000 (03:55 +0000)
Without -ffreestanding, clang tries to seek /usr/include/stdlib.h in host filesystem, even on Windows hosts.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139899 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/sse-builtins.c

index a89c42e08a3f07bf24d411bd097d1137ff268199..64ee4c970fe0ebf4f4384777aa803e7bb2791fa6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -triple i386-apple-darwin9 -target-cpu pentium4 -target-feature +sse4.1 -g -emit-llvm %s -o - | FileCheck %s
+// RUN: %clang_cc1 -ffreestanding -triple i386-apple-darwin9 -target-cpu pentium4 -target-feature +sse4.1 -g -emit-llvm %s -o - | FileCheck %s
 
 #include <emmintrin.h>