aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-02-17 23:03:37 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-02-17 23:03:37 +0000
commit321440fd61650045e452baefdc590043ff2e9e54 (patch)
treea4758a15eeed1fab191e5593744da2ffa297e65f
parent7b50a809ec4c5aa804d3841e1f573bb72bc0c263 (diff)
downloadgcc-321440fd61650045e452baefdc590043ff2e9e54.zip
gcc-321440fd61650045e452baefdc590043ff2e9e54.tar.gz
gcc-321440fd61650045e452baefdc590043ff2e9e54.tar.bz2
c-common.c, [...]: Fix comment typos.
* c-common.c, cfghooks.c, rtlanal.c, varasm.c: Fix comment typos. From-SVN: r77995
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/c-common.c2
-rw-r--r--gcc/cfghooks.c2
-rw-r--r--gcc/rtlanal.c2
-rw-r--r--gcc/varasm.c2
5 files changed, 9 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d8f8394..3dd2ff8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2004-02-17 Kazu Hirata <kazu@cs.umass.edu>
+
+ * c-common.c, cfghooks.c, rtlanal.c, varasm.c: Fix comment
+ typos.
+
2004-02-17 Jan Hubicka <jh@suse.cz>
* i386.c (x86_prologue_using_move, x86_epilogue_using_move): Disable for P4.
diff --git a/gcc/c-common.c b/gcc/c-common.c
index 63ce3c7..2ebb915 100644
--- a/gcc/c-common.c
+++ b/gcc/c-common.c
@@ -5697,7 +5697,7 @@ c_estimate_num_insns_1 (tree *tp, int *walk_subtrees, void *data)
*count += 10;
break;
}
- /* Few special cases of expensive operations. This is usefull
+ /* Few special cases of expensive operations. This is useful
to avoid inlining on functions having too many of these. */
case TRUNC_DIV_EXPR:
case CEIL_DIV_EXPR:
diff --git a/gcc/cfghooks.c b/gcc/cfghooks.c
index e256124..183d54e 100644
--- a/gcc/cfghooks.c
+++ b/gcc/cfghooks.c
@@ -320,7 +320,7 @@ split_block_after_labels (basic_block bb)
return split_block (bb, NULL);
}
-/* Moves block BB immediatelly after block AFTER. Returns false if the
+/* Moves block BB immediately after block AFTER. Returns false if the
movement was impossible. */
bool
diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c
index 82a112c..c408521 100644
--- a/gcc/rtlanal.c
+++ b/gcc/rtlanal.c
@@ -3731,7 +3731,7 @@ hoist_insn_to_edge (rtx insn, edge e, rtx val, rtx new)
abort ();
/* Do not use emit_insn_on_edge as we want to preserve notes and similar
- stuff. We also emit CALL_INSNS and firends. */
+ stuff. We also emit CALL_INSNS and friends. */
if (e->insns == NULL_RTX)
{
start_sequence ();
diff --git a/gcc/varasm.c b/gcc/varasm.c
index cbcef0a..806224d 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -1002,7 +1002,7 @@ notice_global_symbol (tree decl)
|| GET_CODE (DECL_RTL (decl)) != MEM)
return;
- /* We win when global object is found, but it is usefull to know about weak
+ /* We win when global object is found, but it is useful to know about weak
symbol as well so we can produce nicer unique names. */
if (DECL_WEAK (decl) || DECL_ONE_ONLY (decl))
type = &weak_global_object_name;