[llvm-commits] [test-suite] r109873 - /test-suite/trunk/SingleSource/Regression/C/2004-08-12-InlinerAndAllocas.c

Bruno Cardoso Lopes bruno.cardoso at gmail.com
Fri Jul 30 11:15:34 PDT 2010


Author: bruno
Date: Fri Jul 30 13:15:33 2010
New Revision: 109873

URL: http://llvm.org/viewvc/llvm-project?rev=109873&view=rev
Log:
Handle NetBSD in the same way as FreeBSD/OpenBSD. Patch by Krister Walfridsson

Modified:
    test-suite/trunk/SingleSource/Regression/C/2004-08-12-InlinerAndAllocas.c

Modified: test-suite/trunk/SingleSource/Regression/C/2004-08-12-InlinerAndAllocas.c
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Regression/C/2004-08-12-InlinerAndAllocas.c?rev=109873&r1=109872&r2=109873&view=diff
==============================================================================
--- test-suite/trunk/SingleSource/Regression/C/2004-08-12-InlinerAndAllocas.c (original)
+++ test-suite/trunk/SingleSource/Regression/C/2004-08-12-InlinerAndAllocas.c Fri Jul 30 13:15:33 2010
@@ -1,7 +1,7 @@
 // A compiler cannot inline Callee into main unless it is prepared to reclaim
 // the stack memory allocated in it.
 
-#if defined(__FreeBSD__) || defined(__OpenBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
 #include <stdlib.h>
 #else
 #include <alloca.h>





More information about the llvm-commits mailing list