projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix for bug 474411: Two loops can share the same lastBlock so the
[fw/sdcc]
/
src
/
SDCCloop.c
diff --git
a/src/SDCCloop.c
b/src/SDCCloop.c
index 7ab87a7ff8277d62140a6b17be62365b2b250715..beb7bd56d64940556ff542a704c56e15e5c188d5 100644
(file)
--- a/
src/SDCCloop.c
+++ b/
src/SDCCloop.c
@@
-1044,7
+1044,7
@@
loopInduction (region * loopReg, eBBlock ** ebbs, int count)
/* add the induction variable vector to the last
block in the loop */
lastBlock->isLastInLoop = 1;
- lastBlock->linds =
indVect
;
+ lastBlock->linds =
bitVectUnion(lastBlock->linds,indVect)
;
}
setToNull ((void **) &indVars);