Commit ffd15534 by Jan Hubicka Committed by Jan Hubicka

* analyze_brprob: Avoid more overflows.

From-SVN: r44438
parent 7b6a9399
Sat Jul 28 22:37:49 CEST 2001 Jan Hubicka <jh@suse.cz>
* analyze_brprob: Avoid more overflows.
2001-07-27 Richard Henderson <rth@redhat.com> 2001-07-27 Richard Henderson <rth@redhat.com>
* test_summary: Copy LAST_UPDATED UTC time to head of summary. * test_summary: Copy LAST_UPDATED UTC time to head of summary.
......
...@@ -112,13 +112,11 @@ BEGIN {nnames = 0} ...@@ -112,13 +112,11 @@ BEGIN {nnames = 0}
if (int(pred) < 50.0) if (int(pred) < 50.0)
{ {
hit = count - hit; hit = count"-"hit;
} }
counts[name]=counts[name] "+" count counts[name]=counts[name] "+" count
hits[name]=hits[name] "+" hit hits[name]=hits[name] "+" hit
if (float (hit) < (float (count) / 2)) phits[name]=phits[name] "+(("hit")<"count"/2)*("count"-("hit"))+(("hit")>="count"/2)*("hit")"
hit = "("count" - "hit")";
phits[name]=phits[name] "+" hit
#BC crashes on long strings. Irritating. #BC crashes on long strings. Irritating.
if (length(counts[name]) > 2000) if (length(counts[name]) > 2000)
......
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