ipa-inline.c (inline_small_functions): Swap the operands in enum.
authorNaveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
Wed, 14 Jan 2015 05:10:44 +0000 (05:10 +0000)
committerNaveen H.S <naveenh@gcc.gnu.org>
Wed, 14 Jan 2015 05:10:44 +0000 (05:10 +0000)
2015-01-15  Naveen H.S  <Naveen.Hurugalawadi@caviumnetworks.com>

* ipa-inline.c (inline_small_functions): Swap the operands in
enum.

From-SVN: r219573

gcc/ChangeLog
gcc/ipa-inline.c

index 99d384eac91d66eb5300d1ab79f1e7c978296597..73a4e8dc68e1eb9192f5ad38687a2ee3121f5938 100644 (file)
@@ -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
index 96d618e0024226b0ad7b395435247f2add03d5df..1a227a26380f5e79d58609992ec925284473d045 100644 (file)
@@ -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)