aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2006-08-25 13:39:02 +0000
committerKazu Hirata <kazu@codesourcery.com>2006-08-25 13:39:02 +0000
commit76efcd8f160e5aec56506817aee43a928d92dc85 (patch)
tree946fc069d7c4945cd9418f4d8679df1cf39880fd
parentef26ccc42fc027aef6dbe17054a3bb0f5a5c8e82 (diff)
* doc/tm.texi: Fix a typo.
* predict.c: Fix comment typos. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@116399 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/tm.texi2
-rw-r--r--gcc/predict.c4
3 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fa159a14329..e5f5ff7f77a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2006-08-25 Kazu Hirata <kazu@codesourcery.com>
+
+ * doc/tm.texi: Fix a typo.
+ * predict.c: Fix comment typos.
+
2006-08-25 Nick Clifton <nickc@redhat.com>
* config/mn10300/mn10300.h (TARGET_CPU_CPP_BUILTINS): Add
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi
index 29c1ce2b90e..32f00052df1 100644
--- a/gcc/doc/tm.texi
+++ b/gcc/doc/tm.texi
@@ -4401,7 +4401,7 @@ compiler knows this regardless of @code{EXIT_IGNORE_STACK}.
@defmac EPILOGUE_USES (@var{regno})
Define this macro as a C expression that is nonzero for registers that are
used by the epilogue or the @samp{return} pattern. The stack and frame
-pointer registers are already be assumed to be used as needed.
+pointer registers are already assumed to be used as needed.
@end defmac
@defmac EH_USES (@var{regno})
diff --git a/gcc/predict.c b/gcc/predict.c
index 3c2775cd69a..90307635dd8 100644
--- a/gcc/predict.c
+++ b/gcc/predict.c
@@ -182,7 +182,7 @@ tree_predicted_by_p (basic_block bb, enum br_predictor predictor)
The profile guessing code is good at predicting branch outcome (ie.
taken/not taken), that is predicted right slightly over 75% of time.
- It is however notorously poor on predicting the probability itself.
+ It is however notoriously poor on predicting the probability itself.
In general the profile appear a lot flatter (with probabilities closer
to 50%) than the reality so it is bad idea to use it to drive optimization
such as those disabling dynamic branch prediction for well predictable
@@ -192,7 +192,7 @@ tree_predicted_by_p (basic_block bb, enum br_predictor predictor)
predicted by number of iterations heuristics are predicted well. This macro
should be able to distinguish those, but at the moment it simply check for
noreturn heuristic that is only one giving probability over 99% or bellow
- 1%. In future we might want to propagate reliablity information across the
+ 1%. In future we might want to propagate reliability information across the
CFG if we find this information useful on multiple places. */
static bool
probability_reliable_p (int prob)