Commit 1656a814 by Yuri Rumyantsev Committed by H.J. Lu

Add missed pointer de-reference

2013-12-02  Yuri Rumyantsev  <ysrumyan@gmail.com>

	* ipa-inline.c (check_callers): Add missed pointer de-reference.

From-SVN: r205586
parent 139bd704
2013-12-02 Yuri Rumyantsev <ysrumyan@gmail.com>
* ipa-inline.c (check_callers): Add missed pointer de-reference.
2013-12-02 Eric Botcazou <ebotcazou@adacore.com>
PR tree-optimization/59356
......@@ -762,7 +762,7 @@ check_callers (struct cgraph_node *node, void *has_hot_call)
{
if (!can_inline_edge_p (e, true))
return true;
if (!has_hot_call && cgraph_maybe_hot_edge_p (e))
if (!(*(bool *)has_hot_call) && cgraph_maybe_hot_edge_p (e))
*(bool *)has_hot_call = true;
}
return false;
......
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