diff options
Diffstat (limited to 'gcc/ipa-inline.c')
-rw-r--r-- | gcc/ipa-inline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-inline.c b/gcc/ipa-inline.c index da1afc69047..aa93928b702 100644 --- a/gcc/ipa-inline.c +++ b/gcc/ipa-inline.c @@ -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; |