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
This commit is contained in:
parent
139bd704f1
commit
1656a81424
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
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;
|
||||
|
|
Loading…
Add table
Reference in a new issue