diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0b71ab22c39..00e98f5d380 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2005-07-03 Kazu Hirata + + * 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 * pa.c (fix_range): Fix typo in comment. diff --git a/gcc/c-decl.c b/gcc/c-decl.c index d516ffeb3bb..3c241fe6af9 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -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: diff --git a/gcc/config/arm/unwind-arm.c b/gcc/config/arm/unwind-arm.c index 3a2446da56c..e436f7c2659 100644 --- a/gcc/config/arm/unwind-arm.c +++ b/gcc/config/arm/unwind-arm.c @@ -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; diff --git a/gcc/config/arm/unwind-arm.h b/gcc/config/arm/unwind-arm.h index b3244d18424..4d86407c73e 100644 --- a/gcc/config/arm/unwind-arm.h +++ b/gcc/config/arm/unwind-arm.h @@ -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)) diff --git a/gcc/tree-object-size.c b/gcc/tree-object-size.c index a998d9841d7..178dc98d627 100644 --- a/gcc/tree-object-size.c +++ b/gcc/tree-object-size.c @@ -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. diff --git a/gcc/tree-vectorizer.c b/gcc/tree-vectorizer.c index 169b3060039..4b5b56fdf8a 100644 --- a/gcc/tree-vectorizer.c +++ b/gcc/tree-vectorizer.c @@ -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).