aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/fold-const.c2
-rw-r--r--gcc/libgcov.c4
3 files changed, 7 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c026bf3..ed325c3 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2005-05-11 Kazu Hirata <kazu@cs.umass.edu>
+
+ * fold-const.c, libgcov.c: Fix comment typos.
+
2005-05-11 Daniel Jacobowitz <dan@codesourcery.com>
* config/arm/linux-elf.h (SUBTARGET_FRAME_POINTER_REQUIRED): Define.
diff --git a/gcc/fold-const.c b/gcc/fold-const.c
index 21250f6..a6ed0fa 100644
--- a/gcc/fold-const.c
+++ b/gcc/fold-const.c
@@ -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. */
diff --git a/gcc/libgcov.c b/gcc/libgcov.c
index 8b478a7..6a41097 100644
--- a/gcc/libgcov.c
+++ b/gcc/libgcov.c
@@ -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--;
}