OSDN Git Service

* c-decl.c, tree-object-size.c, tree-vectorizer.c,
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 3 Jul 2005 16:11:42 +0000 (16:11 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 3 Jul 2005 16:11:42 +0000 (16:11 +0000)
config/arm/unwind-arm.c, config/arm/unwind-arm.h: Fix comment
typos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101558 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/c-decl.c
gcc/config/arm/unwind-arm.c
gcc/config/arm/unwind-arm.h
gcc/tree-object-size.c
gcc/tree-vectorizer.c

index 0b71ab2..00e98f5 100644 (file)
@@ -1,3 +1,9 @@
+2005-07-03  Kazu Hirata  <kazu@codesourcery.com>
+
+       * c-decl.c, tree-object-size.c, tree-vectorizer.c,
+       config/arm/unwind-arm.c, config/arm/unwind-arm.h: Fix comment
+       typos.
+
 2005-07-03  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
 
        * pa.c (fix_range): Fix typo in comment.
index d516ffe..3c241fe 100644 (file)
@@ -1308,7 +1308,7 @@ diagnose_mismatched_decls (tree newdecl, tree olddecl,
          if (DECL_INITIAL (olddecl))
            {
              /* If both decls are in the same TU and the new declaration
-                isn't overridding an extern inline reject the new decl.
+                isn't overriding an extern inline reject the new decl.
                 When we handle c99 style inline rules we'll want to reject
                 the following:
 
index 3a2446d..e436f7c 100644 (file)
@@ -28,7 +28,7 @@
 #include "unwind.h"
 
 /* Definitions for C++ runtime support routines.  We make these weak
-   declarations to avoid pulling in libsupc++ unneccesarily.  */
+   declarations to avoid pulling in libsupc++ unnecessarily.  */
 typedef unsigned char bool;
 
 typedef struct _ZSt9type_info type_info; /* This names C++ type_info type */
@@ -119,7 +119,7 @@ typedef struct
 } phase2_vrs;
 
 
-/* An exeption index table entry.  */
+/* An exception index table entry.  */
 
 typedef struct __EIT_entry
 {
@@ -375,7 +375,7 @@ search_EIT_table (const __EIT_entry * table, int nrec, _uw return_address)
 
 /* Find the exception index table eintry for the given address.
    Fill in the relevant fields of the UCB.
-   Returns _URC_FAILURE if an error occured, _URC_OK on success*/
+   Returns _URC_FAILURE if an error occurred, _URC_OK on success.  */
 
 static _Unwind_Reason_Code
 get_eit_entry (_Unwind_Control_Block *ucbp, _uw return_address)
@@ -676,7 +676,7 @@ __gnu_unwind_pr_common (_Unwind_State state,
                  /* Cleanup in range, and we are running cleanups.  */
                  _uw lp;
 
-                 /* Landing pad address is 31-bit pc-relatvie offset.  */
+                 /* Landing pad address is 31-bit pc-relative offset.  */
                  lp = selfrel_offset31 (data);
                  data++;
                  /* Save the exception data pointer.  */
@@ -705,7 +705,7 @@ __gnu_unwind_pr_common (_Unwind_State state,
                      if (data[1] == (_uw) -2)
                        return _URC_FAILURE;
 
-                     /* The thrown object immediately folows the ECB.  */
+                     /* The thrown object immediately follows the ECB.  */
                      matched = (void *)(ucbp + 1);
                      if (data[1] != (_uw) -1)
                        {
@@ -739,7 +739,7 @@ __gnu_unwind_pr_common (_Unwind_State state,
                  _Unwind_SetGR (context, 0, (_uw) ucbp);
                  return _URC_INSTALL_CONTEXT;
                }
-             /* Catch handler not mached.  Advance to the next descriptor.  */
+             /* Catch handler not matched.  Advance to the next descriptor.  */
              data += 2;
              break;
 
@@ -818,7 +818,7 @@ __gnu_unwind_pr_common (_Unwind_State state,
 
   if (phase2_call_unexpected_after_unwind)
     {
-      /* Enter __cxa_unexpected as if called from the callsite.  */
+      /* Enter __cxa_unexpected as if called from the call site.  */
       _Unwind_SetGR (context, R_LR, _Unwind_GetGR (context, R_PC));
       _Unwind_SetGR (context, R_PC, (_uw) &__cxa_call_unexpected);
       return _URC_INSTALL_CONTEXT;
index b3244d1..4d86407 100644 (file)
@@ -26,8 +26,8 @@
    the Free Software Foundation, 51 Franklin Street, Fifth Floor,
    Boston, MA 02110-1301, USA.  */
 
-/* Language-independent unwinder header public defines.  This contins both
-   ABI defined objects, and GNU support routines.*/
+/* Language-independent unwinder header public defines.  This contains both
+   ABI defined objects, and GNU support routines.  */
 
 #ifndef UNWIND_ARM_H
 #define UNWIND_ARM_H
@@ -223,7 +223,7 @@ extern "C" {
       tmp += ptr;
       tmp = *(_Unwind_Word *) tmp;
 #elif defined(__symbian__)
-      /* Absoute pointer.  Nothing more to do.  */
+      /* Absolute pointer.  Nothing more to do.  */
 #else
       /* Pc-relative pointer.  */
       tmp += ptr;
@@ -250,7 +250,7 @@ extern "C" {
     }
 
   /* The dwarf unwinder doesn't understand arm/thumb state.  We assume the
-     landing pad uses the same instruction set as the callsite.  */
+     landing pad uses the same instruction set as the call site.  */
 #define _Unwind_SetIP(context, val) \
   _Unwind_SetGR (context, 15, val | (_Unwind_GetGR (context, 15) & 1))
 
index a998d98..178dc98 100644 (file)
@@ -623,7 +623,7 @@ plus_expr_object_size (struct object_size_info *osi, tree var, tree value)
 
 /* Compute object sizes for VAR.
    For ADDR_EXPR an object size is the number of remaining bytes
-   to the end of the object (where what is consindered an object depends on
+   to the end of the object (where what is considered an object depends on
    OSI->object_size_type).
    For allocation CALL_EXPR like malloc or calloc object size is the size
    of the allocation.
index 169b306..4b5b56f 100644 (file)
@@ -1747,7 +1747,7 @@ vect_is_simple_use (tree operand, loop_vec_info loop_vinfo, tree *def_stmt,
    CODE - tree_code of a reduction operations.
 
    Output:
-   REDUC_CODE - the correponding tree-code to be used to reduce the
+   REDUC_CODE - the corresponding tree-code to be used to reduce the
       vector of partial results into a single scalar result (which
       will also reside in a vector).