From 9e145afd37cd9d50a94aa001900c2efeeb69048a Mon Sep 17 00:00:00 2001 From: "Naveen H.S" Date: Wed, 14 Jan 2015 05:10:44 +0000 Subject: [PATCH] ipa-inline.c (inline_small_functions): Swap the operands in enum. 2015-01-15 Naveen H.S * ipa-inline.c (inline_small_functions): Swap the operands in enum. From-SVN: r219573 --- gcc/ChangeLog | 5 +++++ gcc/ipa-inline.c | 10 ++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 99d384eac91..73a4e8dc68e 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 96d618e0024..1a227a26380 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.30.2