aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-09-26 11:47:53 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-09-26 11:47:53 +0000
commit628f3b636383c7e8d0aac7f9948bd61ccac291d6 (patch)
treeafba0dd307489ef13e896679e8e125ccedbc2f42 /gcc
parentbe35cf60c40ae1c70bb1d1520f66141228d53aa5 (diff)
downloadgcc-628f3b636383c7e8d0aac7f9948bd61ccac291d6.zip
gcc-628f3b636383c7e8d0aac7f9948bd61ccac291d6.tar.gz
gcc-628f3b636383c7e8d0aac7f9948bd61ccac291d6.tar.bz2
* profile.c: Fix a comment typo.
From-SVN: r88125
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/profile.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c89c8ed..700cabf 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 39d0493..d7e6f58 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