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

Jeff Cohen jeffc at jolt-lang.org
Tue Mar 8 07:51:19 PST 2005



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

2004-08-12-InlinerAndAllocas.c updated: 1.1 -> 1.2
---
Log message:

More FreeBSD fixes for llvm-test.

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

 2004-08-12-InlinerAndAllocas.c |    4 ++++
 1 files changed, 4 insertions(+)


Index: llvm-test/SingleSource/Regression/C/2004-08-12-InlinerAndAllocas.c
diff -u llvm-test/SingleSource/Regression/C/2004-08-12-InlinerAndAllocas.c:1.1 llvm-test/SingleSource/Regression/C/2004-08-12-InlinerAndAllocas.c:1.2
--- llvm-test/SingleSource/Regression/C/2004-08-12-InlinerAndAllocas.c:1.1	Thu Aug 12 00:27:09 2004
+++ llvm-test/SingleSource/Regression/C/2004-08-12-InlinerAndAllocas.c	Tue Mar  8 09:51:08 2005
@@ -1,7 +1,11 @@
 // A compiler cannot inline Callee into main unless it is prepared to reclaim
 // the stack memory allocated in it.
 
+#ifdef __FreeBSD__
+#include <stdlib.h>
+#else
 #include <alloca.h>
+#endif
 #include <stdio.h>
 
 static int Callee(int i) {






More information about the llvm-commits mailing list