X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fopt%2Fgvn_pre.c;h=bd2c6606534c6b561a7c35fdcf5a26ba1f0208f5;hb=44faeb9742640d3498eb4482f98eb1255607c4d6;hp=90c13b2075fa74e0323b35d58c64c28056297328;hpb=d5dc732caa60b3ccaca0d6f36d6c4ad6e601f92f;p=libfirm diff --git a/ir/opt/gvn_pre.c b/ir/opt/gvn_pre.c index 90c13b207..bd2c66065 100644 --- a/ir/opt/gvn_pre.c +++ b/ir/opt/gvn_pre.c @@ -824,6 +824,7 @@ void do_gvn_pre(ir_graph *irg) irg_walk_blkwise_graph(irg, NULL, topo_walker, &a_env); /* clean the exp_gen set. Doing this here saves the cleanup in the iteration. */ + inc_irg_visited(irg); for (bl_info = a_env.list; bl_info != NULL; bl_info = bl_info->next) { ir_valueset_iterator_t iter;