summaryrefslogtreecommitdiff
path: root/gcc/gcov.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-11 17:42:47 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-11 17:42:47 +0000
commit3f83cb00db6157e4d382be3ed2ae90dfc466fada (patch)
treefc583eefb58f7e41be7cbfd1d5cae11a02d38ffc /gcc/gcov.c
parent6c070c7d5f3d7d3c964af58f6d26611bd25ee95a (diff)
downloadgcc-3f83cb00db6157e4d382be3ed2ae90dfc466fada.tar.gz
* gcov.c (arcdata): Use gcov_type to fix branch percentage
for large hit count. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43944 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcov.c')
-rw-r--r--gcc/gcov.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/gcov.c b/gcc/gcov.c
index 91cbbd64109..fa1e9d9937a 100644
--- 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;
};