re PR ipa/58862 (LTO profiledbootstrap failure: lto1: ICE in edge_badness, at ipa-inline.c:1008)
2013-11-13 Teresa Johnson <tejohnson@google.com> PR ipa/58862 * ipa-inline.c (edge_badness): Fix overflow. From-SVN: r204755
This commit is contained in:
parent
bf08fb1644
commit
51f5c118c5
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
|
|
@ -909,7 +909,7 @@ edge_badness (struct cgraph_edge *edge, bool dump)
|
|||
/* 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);
|
||||
|
|
Loading…
Add table
Reference in a new issue