[cfe-commits] r139899 - /cfe/trunk/test/CodeGen/sse-builtins.c

NAKAMURA Takumi geek4civic at gmail.com
Thu Sep 15 20:55:36 PDT 2011


Author: chapuni
Date: Thu Sep 15 22:55:36 2011
New Revision: 139899

URL: http://llvm.org/viewvc/llvm-project?rev=139899&view=rev
Log:
test/CodeGen/sse-builtins.c: Make this host-independent to unbreak posix-unlike hosts.

Without -ffreestanding, clang tries to seek /usr/include/stdlib.h in host filesystem, even on Windows hosts.

Modified:
    cfe/trunk/test/CodeGen/sse-builtins.c

Modified: cfe/trunk/test/CodeGen/sse-builtins.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/sse-builtins.c?rev=139899&r1=139898&r2=139899&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/sse-builtins.c (original)
+++ cfe/trunk/test/CodeGen/sse-builtins.c Thu Sep 15 22:55:36 2011
@@ -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>
 





More information about the cfe-commits mailing list