This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/49786] [4.7 Regression] bootstrap failed with bootstrap-profiled
- From: "markus at trippelsdorf dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 21 Jul 2011 13:11:27 +0000
- Subject: [Bug bootstrap/49786] [4.7 Regression] bootstrap failed with bootstrap-profiled
- Auto-submitted: auto-generated
- References: <bug-49786-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49786
--- Comment #14 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2011-07-21 13:10:36 UTC ---
H.J. also reported:
lto1: error: caller edge count is negative
in the description. So it's likely the same issue
as in comment #10.
BTW the following already fixes the problem for me:
- cs->count = cs->count * new_sum / orig_node_count;
+ cs->count = cs->count * (new_sum / orig_node_count);