diff options
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/profile.c | 2 |
2 files changed, 5 insertions, 1 deletions
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 <kazu@cs.umass.edu> + + * profile.c: Fix a comment typo. + 2004-09-26 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> 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 |