Revision: 125531
Author:   clattner
Date:     2007-03-29 23:08:44 -0700 (Thu, 29 Mar 2007)

Log Message:
-----------
Apply Anton's patch to work-around PR879 on linux.

Modified Paths:
--------------
    apple-local/branches/llvm/gcc/config/i386/i386.h

Modified: apple-local/branches/llvm/gcc/config/i386/i386.h
===================================================================
--- apple-local/branches/llvm/gcc/config/i386/i386.h    2007-03-30 03:34:45 UTC 
(rev 125530)
+++ apple-local/branches/llvm/gcc/config/i386/i386.h    2007-03-30 06:08:44 UTC 
(rev 125531)
@@ -746,9 +746,12 @@
        {                                                       \
          builtin_define ("__nocona");                          \
          builtin_define ("__nocona__");                        \
-       }                                                       \
-    }                                                          \
-  while (0)
+       }                                                       \
+      /* APPLE LOCAL begin LLVM PR879 workaround */             \
+      builtin_define("__NO_MATH_INLINES");                      \
+      /* APPLE LOCAL end LLVM PR879 workaround */               \
+    }                                                           \
+while (0)
 
 #define TARGET_CPU_DEFAULT_i386 0
 #define TARGET_CPU_DEFAULT_i486 1


_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to