re PR ipa/64694 (FAIL: 23_containers/unordered_set/insert/hash_policy.cc)
PR ipa/64694 * ipa-inline.c (inline_small_functions): Fix thinko in maintenance of heap. Co-Authored-By: H.J. Lu <hongjiu.lu@intel.com> From-SVN: r220011
This commit is contained in:
parent
ff1803c128
commit
d75de25bde
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
2015-01-22 Jan Hubicka <hubicka@ucw.cz>
|
||||
H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR ipa/64694
|
||||
* ipa-inline.c (inline_small_functions): Fix thinko in maintenance of
|
||||
heap.
|
||||
|
||||
2015-01-22 Wei Mi <wmi@google.com>
|
||||
|
||||
PR rtl-optimization/64557
|
||||
|
|
|
@ -1794,7 +1794,7 @@ inline_small_functions (void)
|
|||
#endif
|
||||
if (current_badness != badness)
|
||||
{
|
||||
if (edge_heap.min () && badness > edge_heap.min_key ())
|
||||
if (edge_heap.min () && current_badness > edge_heap.min_key ())
|
||||
{
|
||||
edge->aux = edge_heap.insert (current_badness, edge);
|
||||
continue;
|
||||
|
|
Loading…
Add table
Reference in a new issue