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; };