From 9d6aab7ef8dcb9a38c2d44894dadcd4479d1ad10 Mon Sep 17 00:00:00 2001
From: Kazu Hirata <kazu@cs.umass.edu>
Date: Wed, 11 May 2005 15:21:28 +0000
Subject: [PATCH] * fold-const.c, libgcov.c: Fix comment typos.

From-SVN: r99582
---
 gcc/ChangeLog    | 4 ++++
 gcc/fold-const.c | 2 +-
 gcc/libgcov.c    | 4 ++--
 3 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c026bf36ce7f..ed325c3be50e 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 21250f6c4b2d..a6ed0fa007c7 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 8b478a7707c4..6a41097afb0c 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--;
     }
-- 
GitLab