aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcov.c
diff options
context:
space:
mode:
authorJanis Johnson <janis@us.ibm.com>2001-07-11 17:42:47 +0000
committerRichard Henderson <rth@gcc.gnu.org>2001-07-11 10:42:47 -0700
commit4b9664e2764caf8afa4af0538392b3e4e0f12a3e (patch)
treefc583eefb58f7e41be7cbfd1d5cae11a02d38ffc /gcc/gcov.c
parent1ca469746c7af2919d62b8513878ac2e5b30b6f7 (diff)
downloadgcc-4b9664e2764caf8afa4af0538392b3e4e0f12a3e.zip
gcc-4b9664e2764caf8afa4af0538392b3e4e0f12a3e.tar.gz
gcc-4b9664e2764caf8afa4af0538392b3e4e0f12a3e.tar.bz2
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
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 91cbbd6..fa1e9d9 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;
};