summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-06-07 20:29:58 +0000
committerChris Lattner <sabre@nondot.org>2003-06-07 20:29:58 +0000
commit4432d8f3b5dd4e8bb9f46e0e12abe2ca328020be (patch)
treec2e39714e574abfe96e6cdecc7367b70e8357390 /lib
parent6fe6905df2e23e284faa9b368fbce096476d7e09 (diff)
downloadllvm-4432d8f3b5dd4e8bb9f46e0e12abe2ca328020be.tar.gz
llvm-4432d8f3b5dd4e8bb9f46e0e12abe2ca328020be.tar.bz2
llvm-4432d8f3b5dd4e8bb9f46e0e12abe2ca328020be.tar.xz
Fix compilation problem on GCC 2.9x
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6667 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Transforms/IPO/PoolAllocate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/IPO/PoolAllocate.cpp b/lib/Transforms/IPO/PoolAllocate.cpp
index ef64d43106..facfcbec8b 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<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);