projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ca4697
)
gcov.c (arcdata): Use gcov_type to fix branch percentage for large hit count.
author
Janis Johnson
<janis@us.ibm.com>
Wed, 11 Jul 2001 17:42:47 +0000
(17:42 +0000)
committer
Richard Henderson
<rth@gcc.gnu.org>
Wed, 11 Jul 2001 17:42:47 +0000
(10:42 -0700)
* gcov.c (arcdata): Use gcov_type to fix branch percentage
for large hit count.
From-SVN: r43944
gcc/ChangeLog
patch
|
blob
|
history
gcc/gcov.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index f46d051a334bc6ea823609758585f224f02b4c2e..86549cd01f994de7fa2cd0460a6f726c9cb0e8d5 100644
(file)
--- a/
gcc/ChangeLog
+++ b/
gcc/ChangeLog
@@
-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.
diff --git
a/gcc/gcov.c
b/gcc/gcov.c
index 91cbbd64109f74442a8a1379cd9c3b1de8a19c94..fa1e9d9937a294c549783fc9e8b11a2b9f82caf0 100644
(file)
--- a/
gcc/gcov.c
+++ b/
gcc/gcov.c
@@
-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;
};