GCC3.0 is reported to die without an alloca definition.
authorChris Lattner <sabre@nondot.org>
Tue, 9 Apr 2002 03:37:11 +0000 (03:37 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 9 Apr 2002 03:37:11 +0000 (03:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2186 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/InstrSelection/InstrForest.cpp
lib/Target/SparcV9/InstrSelection/InstrForest.cpp

index 0934e7bbd566d97be277bf276dc9c9e0c1f13f36..95803cd1a409de94b071510fc1aa3967fb8e99bd 100644 (file)
@@ -28,6 +28,7 @@
 #include "llvm/BasicBlock.h"
 #include "llvm/CodeGen/MachineInstr.h"
 #include "Support/STLExtras.h"
+#include <alloca.h>
 #include <iostream>
 using std::cerr;
 using std::vector;
index 0934e7bbd566d97be277bf276dc9c9e0c1f13f36..95803cd1a409de94b071510fc1aa3967fb8e99bd 100644 (file)
@@ -28,6 +28,7 @@
 #include "llvm/BasicBlock.h"
 #include "llvm/CodeGen/MachineInstr.h"
 #include "Support/STLExtras.h"
+#include <alloca.h>
 #include <iostream>
 using std::cerr;
 using std::vector;