From a353d6b1d5c7b28064ffb25888dee50604be296f Mon Sep 17 00:00:00 2001 From: naveenh Date: Wed, 14 Jan 2015 05:10:44 +0000 Subject: [PATCH] 2015-01-15 Naveen H.S * ipa-inline.c (inline_small_functions): Swap the operands in enum. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219573 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/ipa-inline.c | 10 ++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 99d384e..73a4e8d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-01-15 Naveen H.S + + * ipa-inline.c (inline_small_functions): Swap the operands in + enum. + 2015-01-13 Jan Hubicka PR ipa/64481 diff --git a/gcc/ipa-inline.c b/gcc/ipa-inline.c index 96d618e..1a227a2 100644 --- a/gcc/ipa-inline.c +++ b/gcc/ipa-inline.c @@ -1697,10 +1697,12 @@ inline_small_functions (void) " to be inlined into %s/%i in %s:%i\n" " Estimated badness is %f, frequency %.2f.\n", edge->caller->name (), edge->caller->order, - edge->call_stmt ? "unknown" - : gimple_filename ((const_gimple) edge->call_stmt), - edge->call_stmt ? -1 - : gimple_lineno ((const_gimple) edge->call_stmt), + edge->call_stmt + ? gimple_filename ((const_gimple) edge->call_stmt) + : "unknown", + edge->call_stmt + ? gimple_lineno ((const_gimple) edge->call_stmt) + : -1, badness.to_double (), edge->frequency / (double)CGRAPH_FREQ_BASE); if (edge->count) -- 2.7.4