Commit 5e3dbb3b by Steven Bosscher

re PR gcov-profile/32543 (Gcov: profile.c total_num_edges_instrumented never…

re PR gcov-profile/32543 (Gcov: profile.c total_num_edges_instrumented never incremented (patch included))

	PR gcov-profile/32543
	* profile.c (branch_prob): Update total_num_edges_instrumented and
	report the number of edges to instrument.

From-SVN: r189748
parent 55f7c481
2012-07-21 Steven Bosscher <steven@gcc.gnu.org>
PR gcov-profile/32543
* profile.c (branch_prob): Update total_num_edges_instrumented and
report the number of edges to instrument.
2012-07-21 Oleg Endo <olegendo@gcc.gnu.org> 2012-07-21 Oleg Endo <olegendo@gcc.gnu.org>
* config/sh/sh.md: Correct comment regarding clrt and sett insns. * config/sh/sh.md: Correct comment regarding clrt and sett insns.
......
...@@ -1133,6 +1133,9 @@ branch_prob (void) ...@@ -1133,6 +1133,9 @@ branch_prob (void)
if (dump_file) if (dump_file)
fprintf (dump_file, "%d ignored edges\n", ignored_edges); fprintf (dump_file, "%d ignored edges\n", ignored_edges);
total_num_edges_instrumented += num_instrumented;
if (dump_file)
fprintf (dump_file, "%d instrumentation edges\n", num_instrumented);
/* Compute two different checksums. Note that we want to compute /* Compute two different checksums. Note that we want to compute
the checksum in only once place, since it depends on the shape the checksum in only once place, since it depends on the shape
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment