This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] gcc/*.c: Fix comment typos.
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 17 Feb 2004 18:04:25 -0500 (EST)
- Subject: [patch] gcc/*.c: Fix comment typos.
Hi,
Committed as obvious.
Kazu Hirata
2004-02-17 Kazu Hirata <kazu@cs.umass.edu>
* c-common.c, cfghooks.c, rtlanal.c, varasm.c: Fix comment
typos.
Index: c-common.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/c-common.c,v
retrieving revision 1.484
diff -u -r1.484 c-common.c
--- c-common.c 17 Feb 2004 18:32:31 -0000 1.484
+++ c-common.c 17 Feb 2004 23:00:35 -0000
@@ -5697,7 +5697,7 @@
*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:
Index: cfghooks.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cfghooks.c,v
retrieving revision 1.7
diff -u -r1.7 cfghooks.c
--- cfghooks.c 17 Feb 2004 19:51:15 -0000 1.7
+++ cfghooks.c 17 Feb 2004 23:00:35 -0000
@@ -320,7 +320,7 @@
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
Index: rtlanal.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/rtlanal.c,v
retrieving revision 1.178
diff -u -r1.178 rtlanal.c
--- rtlanal.c 17 Feb 2004 05:14:59 -0000 1.178
+++ rtlanal.c 17 Feb 2004 23:00:37 -0000
@@ -3731,7 +3731,7 @@
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 ();
Index: varasm.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/varasm.c,v
retrieving revision 1.411
diff -u -r1.411 varasm.c
--- varasm.c 8 Feb 2004 02:09:58 -0000 1.411
+++ varasm.c 17 Feb 2004 23:00:39 -0000
@@ -1002,7 +1002,7 @@
|| 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;