From: Janis Johnson Date: Wed, 11 Jul 2001 17:42:47 +0000 (+0000) Subject: gcov.c (arcdata): Use gcov_type to fix branch percentage for large hit count. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4b9664e2764caf8afa4af0538392b3e4e0f12a3e;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f46d051a334..86549cd01f9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2001-07-11 Janis Johnson + * 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 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; };