[llvm-commits] CVS: llvm-test/SingleSource/Benchmarks/Dhrystone/dry.c fldry.c
Reid Spencer
reid at x10sys.com
Sat Nov 25 00:51:20 PST 2006
Changes in directory llvm-test/SingleSource/Benchmarks/Dhrystone:
dry.c updated: 1.5 -> 1.6
fldry.c updated: 1.5 -> 1.6
---
Log message:
Make the SingleSource tests return reliable results for their exit codes.
---
Diffs of the changes: (+7 -9)
dry.c | 6 +++---
fldry.c | 10 ++++------
2 files changed, 7 insertions(+), 9 deletions(-)
Index: llvm-test/SingleSource/Benchmarks/Dhrystone/dry.c
diff -u llvm-test/SingleSource/Benchmarks/Dhrystone/dry.c:1.5 llvm-test/SingleSource/Benchmarks/Dhrystone/dry.c:1.6
--- llvm-test/SingleSource/Benchmarks/Dhrystone/dry.c:1.5 Sun Feb 29 21:15:38 2004
+++ llvm-test/SingleSource/Benchmarks/Dhrystone/dry.c Sat Nov 25 02:51:02 2006
@@ -166,12 +166,12 @@
#include <sys/times.h>
#endif
+#include <string.h>
+
main()
{
Proc0();
-#if 0
- exit(0);
-#endif
+ return 0;
}
/*
Index: llvm-test/SingleSource/Benchmarks/Dhrystone/fldry.c
diff -u llvm-test/SingleSource/Benchmarks/Dhrystone/fldry.c:1.5 llvm-test/SingleSource/Benchmarks/Dhrystone/fldry.c:1.6
--- llvm-test/SingleSource/Benchmarks/Dhrystone/fldry.c:1.5 Sun Feb 29 21:15:38 2004
+++ llvm-test/SingleSource/Benchmarks/Dhrystone/fldry.c Sat Nov 25 02:51:02 2006
@@ -165,10 +165,11 @@
#include <sys/types.h>
#include <sys/times.h>
#endif
-
+#include <string.h>
#include <stdio.h>
+#include <stdlib.h>
-main( argc, argv)
+int main( argc, argv)
int argc;
char **argv;
{
@@ -176,9 +177,7 @@
sizeof(extended));
//fflush( stdout);
Proc0();
-#if 0
- exit(0);
-#endif
+ return 0;
}
/*
@@ -203,7 +202,6 @@
Enumeration EnumLoc;
String30 String1Loc;
String30 String2Loc;
- extern char *malloc();
register unsigned int i;
#ifdef CLOCK
More information about the llvm-commits
mailing list