Commit d65adabb by Nathan Sidwell Committed by Nathan Sidwell

auto-profile.c (afdo_propagate): Adjust T const cast to avoid warning.

	* auto-profile.c (afdo_propagate): Adjust T const cast to avoid
	warning.

From-SVN: r248444
parent be136b5c
2017-05-24 Nathan Sidwell <nathan@acm.org>
* auto-profile.c (afdo_propagate): Adjust T const cast to avoid
warning.
2017-05-24 Segher Boessenkool <segher@kernel.crashing.org>
* config/powerpcspe: New port. Files are copied from the rs6000
......
......@@ -1377,7 +1377,7 @@ afdo_propagate (bb_set *annotated_bb, edge_set *annotated_edge)
FOR_ALL_BB_FN (bb, cfun)
{
bb->count = ((basic_block)bb->aux)->count;
if (is_bb_annotated ((const basic_block)bb->aux, *annotated_bb))
if (is_bb_annotated ((basic_block)bb->aux, *annotated_bb))
set_bb_annotated (bb, annotated_bb);
}
......
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