[llvm-commits] CVS: llvm-test/SingleSource/Regression/C/2004-02-03-AggregateCopy.c 2004-08-12-InlinerAndAllocas.c

Evan Cheng evan.cheng at apple.com
Tue Nov 28 10:41:18 PST 2006



Changes in directory llvm-test/SingleSource/Regression/C:

2004-02-03-AggregateCopy.c updated: 1.1 -> 1.2
2004-08-12-InlinerAndAllocas.c updated: 1.5 -> 1.6
---
Log message:

Fix undefined behavior, main should return 0 if executed correctly.

---
Diffs of the changes:  (+2 -0)

 2004-02-03-AggregateCopy.c     |    1 +
 2004-08-12-InlinerAndAllocas.c |    1 +
 2 files changed, 2 insertions(+)


Index: llvm-test/SingleSource/Regression/C/2004-02-03-AggregateCopy.c
diff -u llvm-test/SingleSource/Regression/C/2004-02-03-AggregateCopy.c:1.1 llvm-test/SingleSource/Regression/C/2004-02-03-AggregateCopy.c:1.2
--- llvm-test/SingleSource/Regression/C/2004-02-03-AggregateCopy.c:1.1	Tue Feb  3 01:56:52 2004
+++ llvm-test/SingleSource/Regression/C/2004-02-03-AggregateCopy.c	Tue Nov 28 12:41:03 2006
@@ -10,5 +10,6 @@
   B = C = A;
 
   printf("%d, %d, %d\n", A.X, B.X, C.X);
+  return 0;
 }
 


Index: llvm-test/SingleSource/Regression/C/2004-08-12-InlinerAndAllocas.c
diff -u llvm-test/SingleSource/Regression/C/2004-08-12-InlinerAndAllocas.c:1.5 llvm-test/SingleSource/Regression/C/2004-08-12-InlinerAndAllocas.c:1.6
--- llvm-test/SingleSource/Regression/C/2004-08-12-InlinerAndAllocas.c:1.5	Mon Apr 17 12:55:41 2006
+++ llvm-test/SingleSource/Regression/C/2004-08-12-InlinerAndAllocas.c	Tue Nov 28 12:41:03 2006
@@ -22,4 +22,5 @@
   for (i = 0; i < 10000; ++i)
     j += Callee(i);
   printf("%d\n", j);
+  return 0;
 }






More information about the llvm-commits mailing list