[cfe-commits] r84160 - in /cfe/trunk/test/CodeGen: builtins-powi.c builtins.c const-init.c mandel.c

John Thompson John.Thompson.JTSoftware at gmail.com
Wed Oct 14 17:39:58 PDT 2009


Author: jtsoftware
Date: Wed Oct 14 19:39:58 2009
New Revision: 84160

URL: http://llvm.org/viewvc/llvm-project?rev=84160&view=rev
Log:
Removed math.h include, as Windows math.h has a compile error.

Modified:
    cfe/trunk/test/CodeGen/builtins-powi.c
    cfe/trunk/test/CodeGen/builtins.c
    cfe/trunk/test/CodeGen/const-init.c
    cfe/trunk/test/CodeGen/mandel.c

Modified: cfe/trunk/test/CodeGen/builtins-powi.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/builtins-powi.c?rev=84160&r1=84159&r2=84160&view=diff

==============================================================================
--- cfe/trunk/test/CodeGen/builtins-powi.c (original)
+++ cfe/trunk/test/CodeGen/builtins-powi.c Wed Oct 14 19:39:58 2009
@@ -3,7 +3,6 @@
 
 #include <stdio.h>
 #include <stdlib.h>
-#include <math.h>
 
 void test(long double a, int b) {
   printf("%Lf**%d: %08x %08x %016Lx\n", 

Modified: cfe/trunk/test/CodeGen/builtins.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/builtins.c?rev=84160&r1=84159&r2=84160&view=diff

==============================================================================
--- cfe/trunk/test/CodeGen/builtins.c (original)
+++ cfe/trunk/test/CodeGen/builtins.c Wed Oct 14 19:39:58 2009
@@ -2,7 +2,6 @@
 // RUN: not grep __builtin %t
 
 #include <stdio.h>
-#include <math.h>
 
 void p(char *str, int x) {
   printf("%s: %d\n", str, x);
@@ -118,7 +117,7 @@
 
 
 
-void strcat() {}
+char *strcat(char *, char const *) {}
 
 void foo() {
  __builtin_strcat(0, 0);

Modified: cfe/trunk/test/CodeGen/const-init.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/const-init.c?rev=84160&r1=84159&r2=84160&view=diff

==============================================================================
--- cfe/trunk/test/CodeGen/const-init.c (original)
+++ cfe/trunk/test/CodeGen/const-init.c Wed Oct 14 19:39:58 2009
@@ -1,6 +1,6 @@
 // RUN: clang-cc -triple i386-pc-linux-gnu -verify -emit-llvm -o - %s | FileCheck %s
 
-#include <stdint.h>
+typedef __INTPTR_TYPE__          intptr_t;
 
 // Brace-enclosed string array initializers
 char a[] = { "asdf" };

Modified: cfe/trunk/test/CodeGen/mandel.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/mandel.c?rev=84160&r1=84159&r2=84160&view=diff

==============================================================================
--- cfe/trunk/test/CodeGen/mandel.c (original)
+++ cfe/trunk/test/CodeGen/mandel.c Wed Oct 14 19:39:58 2009
@@ -25,8 +25,6 @@
 
 #define I 1.0iF
 
-#include <math.h>
-
 #include <stdio.h>
 
 volatile double __complex__ accum;





More information about the cfe-commits mailing list