2013-11-13 Teresa Johnson <tejohnson@google.com>
PR ipa/58862
* ipa-inline.c (edge_badness): Fix overflow.
From-SVN: r204755
+2013-11-13 Teresa Johnson <tejohnson@google.com>
+
+ PR ipa/58862
+ * ipa-inline.c (edge_badness): Fix overflow.
+
2013-11-13 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/59036
/* Capping edge->count to max_count. edge->count can be larger than
max_count if an inline adds new edges which increase max_count
after max_count is computed. */
- int edge_count = edge->count > max_count ? max_count : edge->count;
+ gcov_type edge_count = edge->count > max_count ? max_count : edge->count;
sreal_init (&relbenefit_real, relbenefit, 0);
sreal_init (&growth_real, growth, 0);