Commit 4b9664e2 by Janis Johnson Committed by Richard Henderson

gcov.c (arcdata): Use gcov_type to fix branch percentage for large hit count.

        * gcov.c (arcdata): Use gcov_type to fix branch percentage
        for large hit count.

From-SVN: r43944
parent 1ca46974
2001-07-11 Janis Johnson <janis@us.ibm.com> 2001-07-11 Janis Johnson <janis@us.ibm.com>
* gcov.c (arcdata): Use gcov_type to fix branch percentage
for large hit count.
* profile.c (branch_prob): Fix .bbg info for computed gotos * profile.c (branch_prob): Fix .bbg info for computed gotos
and C++ EH code. and C++ EH code.
......
...@@ -140,8 +140,8 @@ struct bb_info { ...@@ -140,8 +140,8 @@ struct bb_info {
struct arcdata struct arcdata
{ {
int hits; gcov_type hits;
int total; gcov_type total;
int call_insn; int call_insn;
struct arcdata *next; struct arcdata *next;
}; };
......
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