Commit 4b9664e2 by Janis Johnson Committed by Richard Henderson

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
parent 1ca46974
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.
......
......@@ -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;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment