mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-27 22:03:57 +08:00
* analyze_brprob: Avoid more overflows.
From-SVN: r44438
This commit is contained in:
parent
7b6a93997d
commit
ffd1553440
@ -1,3 +1,7 @@
|
||||
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>
|
||||
|
||||
* test_summary: Copy LAST_UPDATED UTC time to head of summary.
|
||||
|
@ -112,13 +112,11 @@ BEGIN {nnames = 0}
|
||||
|
||||
if (int(pred) < 50.0)
|
||||
{
|
||||
hit = count - hit;
|
||||
hit = count"-"hit;
|
||||
}
|
||||
counts[name]=counts[name] "+" count
|
||||
hits[name]=hits[name] "+" hit
|
||||
if (float (hit) < (float (count) / 2))
|
||||
hit = "("count" - "hit")";
|
||||
phits[name]=phits[name] "+" hit
|
||||
phits[name]=phits[name] "+(("hit")<"count"/2)*("count"-("hit"))+(("hit")>="count"/2)*("hit")"
|
||||
|
||||
#BC crashes on long strings. Irritating.
|
||||
if (length(counts[name]) > 2000)
|
||||
|
Loading…
Reference in New Issue
Block a user