projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e8748f
)
Added a set_break()
author
Sebastian Hack
<hack@ipd.info.uni-karlsruhe.de>
Thu, 7 Sep 2006 08:04:45 +0000
(08:04 +0000)
committer
Sebastian Hack
<hack@ipd.info.uni-karlsruhe.de>
Thu, 7 Sep 2006 08:04:45 +0000
(08:04 +0000)
ir/be/becopyilp2.c
patch
|
blob
|
history
diff --git
a/ir/be/becopyilp2.c
b/ir/be/becopyilp2.c
index
801e470
..
6aaf689
100644
(file)
--- a/
ir/be/becopyilp2.c
+++ b/
ir/be/becopyilp2.c
@@
-297,6
+297,9
@@
static void build_clique_star_cstr(ilp_env_t *ienv) {
for (e=set_first(edges); !e->n1; e=set_next(edges))
/*nothing*/ ;
+ /* we could be stepped out of the loop before the set iterated to the end */
+ set_break(edges);
+
pset_insert_ptr(clique, e->n1);
pset_insert_ptr(clique, e->n2);
remove_edge(edges, e->n1, e->n2, &n_edges);