Commit 873fa204 by Jan Hubicka Committed by Jan Hubicka

profile.c (compute_branch_probabilities): Also initialize EXIT_BLOCK profile.

	* profile.c (compute_branch_probabilities): Also initialize
	EXIT_BLOCK profile.

From-SVN: r248910
parent e7baeb39
2017-06-06 Jan Hubicka <hubicka@ucw.cz>
* profile.c (compute_branch_probabilities): Also initialize
EXIT_BLOCK profile.
2017-06-06 Richard Biener <rguenther@suse.de>
PR tree-optimization/80928
......
......@@ -826,7 +826,7 @@ compute_branch_probabilities (unsigned cfg_checksum, unsigned lineno_checksum)
}
}
FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR_FOR_FN (cfun), NULL, next_bb)
FOR_ALL_BB_FN (bb, cfun)
{
edge e;
edge_iterator ei;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment