[llvm-commits] [test-suite] r53813 - in /test-suite/trunk/SingleSource/Benchmarks/Shootout-C++: ary.cpp ary2.cpp ary3.cpp lists.cpp lists1.cpp strcat.cpp

Nick Lewycky nicholas at mxc.ca
Sun Jul 20 19:52:34 PDT 2008


Author: nicholas
Date: Sun Jul 20 21:52:34 2008
New Revision: 53813

URL: http://llvm.org/viewvc/llvm-project?rev=53813&view=rev
Log:
Unbreak these tests on linux, where you need cstdlib to define atoi.

Modified:
    test-suite/trunk/SingleSource/Benchmarks/Shootout-C++/ary.cpp
    test-suite/trunk/SingleSource/Benchmarks/Shootout-C++/ary2.cpp
    test-suite/trunk/SingleSource/Benchmarks/Shootout-C++/ary3.cpp
    test-suite/trunk/SingleSource/Benchmarks/Shootout-C++/lists.cpp
    test-suite/trunk/SingleSource/Benchmarks/Shootout-C++/lists1.cpp
    test-suite/trunk/SingleSource/Benchmarks/Shootout-C++/strcat.cpp

Modified: test-suite/trunk/SingleSource/Benchmarks/Shootout-C++/ary.cpp
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Benchmarks/Shootout-C%2B%2B/ary.cpp?rev=53813&r1=53812&r2=53813&view=diff

==============================================================================
--- test-suite/trunk/SingleSource/Benchmarks/Shootout-C++/ary.cpp (original)
+++ test-suite/trunk/SingleSource/Benchmarks/Shootout-C++/ary.cpp Sun Jul 20 21:52:34 2008
@@ -2,6 +2,7 @@
 // $Id$
 // http://www.bagley.org/~doug/shootout/
 
+#include <cstdlib>
 #include <iostream>
 #include <vector>
 

Modified: test-suite/trunk/SingleSource/Benchmarks/Shootout-C++/ary2.cpp
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Benchmarks/Shootout-C%2B%2B/ary2.cpp?rev=53813&r1=53812&r2=53813&view=diff

==============================================================================
--- test-suite/trunk/SingleSource/Benchmarks/Shootout-C++/ary2.cpp (original)
+++ test-suite/trunk/SingleSource/Benchmarks/Shootout-C++/ary2.cpp Sun Jul 20 21:52:34 2008
@@ -2,6 +2,7 @@
 // $Id$
 // http://www.bagley.org/~doug/shootout/
 
+#include <cstdlib>
 #include <iostream>
 #include <vector>
 

Modified: test-suite/trunk/SingleSource/Benchmarks/Shootout-C++/ary3.cpp
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Benchmarks/Shootout-C%2B%2B/ary3.cpp?rev=53813&r1=53812&r2=53813&view=diff

==============================================================================
--- test-suite/trunk/SingleSource/Benchmarks/Shootout-C++/ary3.cpp (original)
+++ test-suite/trunk/SingleSource/Benchmarks/Shootout-C++/ary3.cpp Sun Jul 20 21:52:34 2008
@@ -2,6 +2,7 @@
 // $Id$
 // http://www.bagley.org/~doug/shootout/
 
+#include <cstdlib>
 #include <iostream>
 #include <vector>
 

Modified: test-suite/trunk/SingleSource/Benchmarks/Shootout-C++/lists.cpp
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Benchmarks/Shootout-C%2B%2B/lists.cpp?rev=53813&r1=53812&r2=53813&view=diff

==============================================================================
--- test-suite/trunk/SingleSource/Benchmarks/Shootout-C++/lists.cpp (original)
+++ test-suite/trunk/SingleSource/Benchmarks/Shootout-C++/lists.cpp Sun Jul 20 21:52:34 2008
@@ -3,6 +3,7 @@
 // http://www.bagley.org/~doug/shootout/
 // from Bill Lear
 
+#include <cstdlib>
 #include <iostream>
 #include <list>
 #include <numeric>

Modified: test-suite/trunk/SingleSource/Benchmarks/Shootout-C++/lists1.cpp
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Benchmarks/Shootout-C%2B%2B/lists1.cpp?rev=53813&r1=53812&r2=53813&view=diff

==============================================================================
--- test-suite/trunk/SingleSource/Benchmarks/Shootout-C++/lists1.cpp (original)
+++ test-suite/trunk/SingleSource/Benchmarks/Shootout-C++/lists1.cpp Sun Jul 20 21:52:34 2008
@@ -2,6 +2,7 @@
 // $Id$
 // http://www.bagley.org/~doug/shootout/
 
+#include <cstdlib>
 #include <iostream>
 #include <list>
 #include <numeric>

Modified: test-suite/trunk/SingleSource/Benchmarks/Shootout-C++/strcat.cpp
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Benchmarks/Shootout-C%2B%2B/strcat.cpp?rev=53813&r1=53812&r2=53813&view=diff

==============================================================================
--- test-suite/trunk/SingleSource/Benchmarks/Shootout-C++/strcat.cpp (original)
+++ test-suite/trunk/SingleSource/Benchmarks/Shootout-C++/strcat.cpp Sun Jul 20 21:52:34 2008
@@ -3,6 +3,7 @@
 // http://www.bagley.org/~doug/shootout/
 // with help from PeterB
 
+#include <cstdlib>
 #include <iostream>
 #include <string>
 using namespace std;





More information about the llvm-commits mailing list