[llvm-commits] CVS: llvm/lib/Transforms/IPO/PoolAllocate.cpp

Chris Lattner lattner at cs.uiuc.edu
Sat Jun 7 15:31:01 PDT 2003


Changes in directory llvm/lib/Transforms/IPO:

PoolAllocate.cpp updated: 1.7 -> 1.8

---
Log message:

Fix compilation problem on GCC 2.9x


---
Diffs of the changes:

Index: llvm/lib/Transforms/IPO/PoolAllocate.cpp
diff -u llvm/lib/Transforms/IPO/PoolAllocate.cpp:1.7 llvm/lib/Transforms/IPO/PoolAllocate.cpp:1.8
--- llvm/lib/Transforms/IPO/PoolAllocate.cpp:1.7	Wed Jun  4 03:03:57 2003
+++ llvm/lib/Transforms/IPO/PoolAllocate.cpp	Sat Jun  7 15:29:58 2003
@@ -94,7 +94,7 @@
 				  firstCalledF));
 	  if (Callees.size() > 1) {
 	    for (std::vector<GlobalValue*>::iterator CalleesI = 
-		   ++Callees.begin(), CalleesE = Callees.end(); 
+		   Callees.begin()+1, CalleesE = Callees.end(); 
 		 CalleesI != CalleesE; ++CalleesI) {
 	      Function *calledF = dyn_cast<Function>(*CalleesI);
 	      FuncECs.unionSetsWith(firstCalledF, calledF);





More information about the llvm-commits mailing list