[Bug ipa/58279] Interanl compiler error while pgo compilation at ipa-inline.c:902
evstupac at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Dec 4 15:05:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58279
--- Comment #9 from Stupachenko Evgeny <evstupac at gmail dot com> ---
r203897 | pmatos | 2013-10-21 19:41:46 +0400 (Mon, 21 Oct 2013) | 4 lines
* ipa-inline.c (edge_badness): Cap edge->count at max_count for badness
calculations.
fixes the issue in trunk.
To be consistent we should apply the patch (attached) to 4.8 GCC as well.
However I believe we should update max_count when adding new edges, but not
edge_count.
More information about the Gcc-bugs
mailing list