re PR middle-end/52214 (FAIL: g++.dg/tree-ssa/pr44706.C -std=gnu++* scan-tree-dump-not fnsplit "Splitting function")

PR middle-end/52214
	* predict.c (predict_paths_for_bb): Fix thinko in prevoius patch.

From-SVN: r184180
This commit is contained in:
Jan Hubicka 2012-02-14 00:29:34 +01:00 committed by Jan Hubicka
parent f3f5e3c32e
commit 993716bdca
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-02-13 Jan Hubicka <jh@suse.cz>
PR middle-end/52214
* predict.c (predict_paths_for_bb): Fix thinko in prevoius patch.
2012-02-13 Eric Botcazou <ebotcazou@adacore.com>
* gcc.c (LINK_COMMAND_SPEC): Deal with -fgnu-tm.

View File

@ -1869,7 +1869,7 @@ predict_paths_for_bb (basic_block cur, basic_block bb,
prevent visiting given BB twice. */
if (found)
predict_edge_def (e, pred, taken);
else if (!bitmap_set_bit (visited, e->src->index))
else if (bitmap_set_bit (visited, e->src->index))
predict_paths_for_bb (e->src, e->src, pred, taken, visited);
}
for (son = first_dom_son (CDI_POST_DOMINATORS, cur);