From: Chris Lattner Date: Sat, 7 Jun 2003 20:29:58 +0000 (+0000) Subject: Fix compilation problem on GCC 2.9x X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4432d8f3b5dd4e8bb9f46e0e12abe2ca328020be;p=oota-llvm.git Fix compilation problem on GCC 2.9x git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6667 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/IPO/PoolAllocate.cpp b/lib/Transforms/IPO/PoolAllocate.cpp index ef64d431062..facfcbec8b8 100644 --- a/lib/Transforms/IPO/PoolAllocate.cpp +++ b/lib/Transforms/IPO/PoolAllocate.cpp @@ -94,7 +94,7 @@ void PoolAllocate::buildIndirectFunctionSets(Module &M) { firstCalledF)); if (Callees.size() > 1) { for (std::vector::iterator CalleesI = - ++Callees.begin(), CalleesE = Callees.end(); + Callees.begin()+1, CalleesE = Callees.end(); CalleesI != CalleesE; ++CalleesI) { Function *calledF = dyn_cast(*CalleesI); FuncECs.unionSetsWith(firstCalledF, calledF);