From 628f3b636383c7e8d0aac7f9948bd61ccac291d6 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sun, 26 Sep 2004 11:47:53 +0000 Subject: [PATCH] * profile.c: Fix a comment typo. From-SVN: r88125 --- gcc/ChangeLog | 4 ++++ gcc/profile.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c89c8ed8520..700cabf84b2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2004-09-26 Kazu Hirata + + * profile.c: Fix a comment typo. + 2004-09-26 Zdenek Dvorak PR bootstrap/17591 diff --git a/gcc/profile.c b/gcc/profile.c index 39d0493c6dd..d7e6f58104d 100644 --- a/gcc/profile.c +++ b/gcc/profile.c @@ -569,7 +569,7 @@ compute_branch_probabilities (void) BRANCH_EDGE (bb)->probability = prob; FALLTHRU_EDGE (bb)->probability = REG_BR_PROB_BASE - prob; } - /* As a last resolt, distribute the probabilities evenly. + /* As a last resort, distribute the probabilities evenly. Use simple heuristics that if there are normal edges, give all abnormals frequency of 0, otherwise distribute the frequency over abnormals (this is the case of noreturn -- 2.30.2