aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNaveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>2015-01-14 05:10:44 +0000
committerNaveen H.S <naveenh@gcc.gnu.org>2015-01-14 05:10:44 +0000
commit9e145afd37cd9d50a94aa001900c2efeeb69048a (patch)
tree6b5143ce2b1fcc53e7691ed94e0cb4026e24b979 /gcc
parent0d92b55538087dd0c4acfed6bbed89053e5521d3 (diff)
downloadgcc-9e145afd37cd9d50a94aa001900c2efeeb69048a.zip
gcc-9e145afd37cd9d50a94aa001900c2efeeb69048a.tar.gz
gcc-9e145afd37cd9d50a94aa001900c2efeeb69048a.tar.bz2
ipa-inline.c (inline_small_functions): Swap the operands in enum.
2015-01-15 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> * ipa-inline.c (inline_small_functions): Swap the operands in enum. From-SVN: r219573
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/ipa-inline.c10
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 <Naveen.Hurugalawadi@caviumnetworks.com>
+
+ * ipa-inline.c (inline_small_functions): Swap the operands in
+ enum.
+
2015-01-13 Jan Hubicka <hubicka@ucw.cz>
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)