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

Jeff Cohen jeffc at jolt-lang.org
Mon Apr 17 10:55:57 PDT 2006



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

2004-08-12-InlinerAndAllocas.c updated: 1.4 -> 1.5
---
Log message:

Add checks for __OpenBSD__.

---
Diffs of the changes:  (+1 -1)

 2004-08-12-InlinerAndAllocas.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm-test/SingleSource/Regression/C/2004-08-12-InlinerAndAllocas.c
diff -u llvm-test/SingleSource/Regression/C/2004-08-12-InlinerAndAllocas.c:1.4 llvm-test/SingleSource/Regression/C/2004-08-12-InlinerAndAllocas.c:1.5
--- llvm-test/SingleSource/Regression/C/2004-08-12-InlinerAndAllocas.c:1.4	Sun Jan 22 23:28:20 2006
+++ llvm-test/SingleSource/Regression/C/2004-08-12-InlinerAndAllocas.c	Mon Apr 17 12:55:41 2006
@@ -1,7 +1,7 @@
 // A compiler cannot inline Callee into main unless it is prepared to reclaim
 // the stack memory allocated in it.
 
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__OpenBSD__)
 #include <stdlib.h>
 #else
 #include <alloca.h>






More information about the llvm-commits mailing list