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
This commit is contained in:
Janis Johnson 2001-07-11 17:42:47 +00:00 committed by Richard Henderson
parent 1ca469746c
commit 4b9664e276
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,8 @@
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
and C++ EH code.

View File

@ -140,8 +140,8 @@ struct bb_info {
struct arcdata
{
int hits;
int total;
gcov_type hits;
gcov_type total;
int call_insn;
struct arcdata *next;
};