Include <cmath> for compatibility with gcc 3.0.x (the system compiler on
authorBrian Gaeke <gaeke@uiuc.edu>
Fri, 16 Apr 2004 15:57:32 +0000 (15:57 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Fri, 16 Apr 2004 15:57:32 +0000 (15:57 +0000)
Debian.)

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

lib/Analysis/ScalarEvolution.cpp
lib/Transforms/Utils/Local.cpp

index 0d880ed74a8e1d825ccfded1cad97db08fa586f2..33a405085118ff1018cd716e28a4e5fb6a94aa89 100644 (file)
@@ -76,6 +76,7 @@
 #include "llvm/Support/ConstantRange.h"
 #include "llvm/Support/InstIterator.h"
 #include "Support/Statistic.h"
+#include <cmath>
 using namespace llvm;
 
 namespace {
index 29132c068092dc15137b8ebfcd4feef0fb004814..76a22a44dd009d259f85ae8d7a492acb4155efe4 100644 (file)
@@ -15,6 +15,7 @@
 #include "llvm/Transforms/Utils/Local.h"
 #include "llvm/Constants.h"
 #include "llvm/Instructions.h"
+#include <cmath>
 using namespace llvm;
 
 //===----------------------------------------------------------------------===//