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: Wed, 11 May 2005 11:21:45 -0400 (EDT)
- Subject: [patch] gcc/*.c: Fix comment typos.
Hi,
Committed as obvious.
Kazu Hirata
2005-05-11 Kazu Hirata <kazu@cs.umass.edu>
* fold-const.c, libgcov.c: Fix comment typos.
Index: fold-const.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/fold-const.c,v
retrieving revision 1.577
diff -u -d -p -r1.577 fold-const.c
--- fold-const.c 11 May 2005 08:14:19 -0000 1.577
+++ fold-const.c 11 May 2005 15:14:14 -0000
@@ -9950,7 +9950,7 @@ contains_label_1 (tree *tp,
}
}
-/* Checks wheter the sub-tree ST contains a label LABEL_EXPR which is
+/* Checks whether the sub-tree ST contains a label LABEL_EXPR which is
accessible from outside the sub-tree. Returns NULL_TREE if no
addressable label is found. */
Index: libgcov.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/libgcov.c,v
retrieving revision 1.31
diff -u -d -p -r1.31 libgcov.c
--- libgcov.c 10 May 2005 16:10:53 -0000 1.31
+++ libgcov.c 11 May 2005 15:14:14 -0000
@@ -91,7 +91,7 @@ static gcov_unsigned_t gcov_crc32;
/* Size of the longest file name. */
static size_t gcov_max_filename = 0;
-/* Make sure path compenent of the given FILENAME exists, create
+/* Make sure path component of the given FILENAME exists, create
missing directories. FILENAME must be writable.
Returns zero on success, or -1 if an error occurred. */
@@ -208,7 +208,7 @@ gcov_exit (void)
prefix_length = strlen(gcov_prefix);
- /* Remove an unneccesary trailing '/' */
+ /* Remove an unnecessary trailing '/' */
if (IS_DIR_SEPARATOR (gcov_prefix[prefix_length - 1]))
prefix_length--;
}