summaryrefslogtreecommitdiffhomepage
path: root/ir/ana
diff options
context:
space:
mode:
authorSebastian Buchwald <Sebastian.Buchwald@kit.edu>2015-10-23 17:12:31 +0200
committerSebastian Buchwald <Sebastian.Buchwald@kit.edu>2015-10-23 17:12:31 +0200
commit9b70628e0ae5b23f84713ea569202ee7da5d226d (patch)
treedc1c52c92811b9c3a8fbe43c615c96c264e046cc /ir/ana
parent065c04e88af2691e941a9666362da4b07c498178 (diff)
Remove wrong break to reach a global fix point.
Diffstat (limited to 'ir/ana')
-rw-r--r--ir/ana/constbits.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ir/ana/constbits.c b/ir/ana/constbits.c
index 4f58b8b..faefd0f 100644
--- a/ir/ana/constbits.c
+++ b/ir/ana/constbits.c
@@ -282,7 +282,8 @@ result_unknown_X:
bitinfo *const b = get_bitinfo_recursive(pred_block);
if (b->z == t) {
reachable = true;
- break;
+ /* We need to iterate all operands to reach a global fix point.
+ * Thus, do not use a break here. */
}
}