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:
parent
1ca469746c
commit
4b9664e276
|
@ -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.
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue