diff options
-rw-r--r-- | gcc/ChangeLog | 11 | ||||
-rw-r--r-- | gcc/config/alpha/alpha.h | 2 | ||||
-rw-r--r-- | gcc/config/arm/arm.c | 12 | ||||
-rw-r--r-- | gcc/config/arm/arm.h | 2 | ||||
-rw-r--r-- | gcc/config/arm/arm.md | 2 | ||||
-rw-r--r-- | gcc/config/arm/bpabi.h | 2 | ||||
-rw-r--r-- | gcc/config/arm/predicates.md | 2 | ||||
-rw-r--r-- | gcc/config/darwin.c | 2 | ||||
-rw-r--r-- | gcc/config/frv/frv.c | 6 | ||||
-rw-r--r-- | gcc/config/frv/frv.md | 2 | ||||
-rw-r--r-- | gcc/config/h8300/h8300.md | 4 | ||||
-rw-r--r-- | gcc/config/i386/gmm_malloc.h | 2 | ||||
-rw-r--r-- | gcc/config/ia64/ia64.md | 2 | ||||
-rw-r--r-- | gcc/config/ip2k/libgcc.S | 2 | ||||
-rw-r--r-- | gcc/config/mips/mips-ps-3d.md | 6 | ||||
-rw-r--r-- | gcc/config/mips/mips.c | 4 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 2 | ||||
-rw-r--r-- | gcc/config/s390/s390.c | 2 | ||||
-rw-r--r-- | gcc/config/sh/symbian.c | 14 |
19 files changed, 46 insertions, 35 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2925a00..71223aa 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,14 @@ +2004-09-10 Kazu Hirata <kazu@cs.umass.edu> + + * config/darwin.c, config/alpha/alpha.h, config/arm/arm.c, + config/arm/arm.h, config/arm/arm.md, config/arm/bpabi.h, + config/arm/predicates.md, config/frv/frv.c, config/frv/frv.md, + config/h8300/h8300.md, config/i386/gmm_malloc.h, + config/ia64/ia64.md, config/ip2k/libgcc.S, + config/mips/mips-ps-3d.md, config/mips/mips.c, + config/rs6000/rs6000.c, config/s390/s390.c, + config/sh/symbian.c: Fix comment typos. + 2004-09-10 Andreas Krebbel <krebbel1@de.ibm.com> * config/s390/s390.c (s390_emit_prologue): Added missing diff --git a/gcc/config/alpha/alpha.h b/gcc/config/alpha/alpha.h index 3acecb8..25327d9 100644 --- a/gcc/config/alpha/alpha.h +++ b/gcc/config/alpha/alpha.h @@ -476,7 +476,7 @@ extern const char *alpha_tls_size_string; /* For -mtls-size= */ Note that small vector types can get mapped onto integer modes at the whim of not appearing in alpha-modes.def. We never promoted these - values before; don't do so now that we've trimed the set of modes to + values before; don't do so now that we've trimmed the set of modes to those actually implemented in the backend. */ #define PROMOTE_MODE(MODE,UNSIGNEDP,TYPE) \ diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 38ead5d..a999fe4 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -634,7 +634,7 @@ bit_count (unsigned long value) return count; } -/* Set up library functions uqniue to ARM. */ +/* Set up library functions unique to ARM. */ static void arm_init_libfuncs (void) @@ -654,7 +654,7 @@ arm_init_libfuncs (void) set_optab_libfunc (neg_optab, DFmode, "__aeabi_dneg"); set_optab_libfunc (sub_optab, DFmode, "__aeabi_dsub"); - /* Double-precision comparisions. Table 3. */ + /* Double-precision comparisons. Table 3. */ set_optab_libfunc (eq_optab, DFmode, "__aeabi_dcmpeq"); set_optab_libfunc (ne_optab, DFmode, NULL); set_optab_libfunc (lt_optab, DFmode, "__aeabi_dcmplt"); @@ -670,7 +670,7 @@ arm_init_libfuncs (void) set_optab_libfunc (neg_optab, SFmode, "__aeabi_fneg"); set_optab_libfunc (sub_optab, SFmode, "__aeabi_fsub"); - /* Single-precision comparisions. Table 5. */ + /* Single-precision comparisons. Table 5. */ set_optab_libfunc (eq_optab, SFmode, "__aeabi_fcmpeq"); set_optab_libfunc (ne_optab, SFmode, NULL); set_optab_libfunc (lt_optab, SFmode, "__aeabi_fcmplt"); @@ -693,7 +693,7 @@ arm_init_libfuncs (void) set_conv_libfunc (trunc_optab, SFmode, DFmode, "__aeabi_d2f"); set_conv_libfunc (sext_optab, DFmode, SFmode, "__aeabi_f2d"); - /* Integer to floating-point converisons. Table 8. */ + /* Integer to floating-point conversions. Table 8. */ set_conv_libfunc (sfloat_optab, DFmode, SImode, "__aeabi_i2d"); set_conv_libfunc (ufloat_optab, DFmode, SImode, "__aeabi_ui2d"); set_conv_libfunc (sfloat_optab, DFmode, DImode, "__aeabi_l2d"); @@ -2823,7 +2823,7 @@ arm_is_longcall_p (rtx sym_ref, int call_cookie, int call_symbol) { if (flag_function_sections || DECL_SECTION_NAME (current_function_decl)) - /* c.3 is handled by the defintion of the + /* c.3 is handled by the definition of the ARM_DECLARE_FUNCTION_SIZE macro. */ return 1; } @@ -12900,7 +12900,7 @@ thumb_expand_prologue (void) return; } - /* Load the pic recister before setting the frame pointer, so we can use r7 + /* Load the pic register before setting the frame pointer, so we can use r7 as a temporary work register. */ if (flag_pic) arm_load_pic_register (); diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index 735b182..c8f88f0 100644 --- a/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h @@ -2059,7 +2059,7 @@ typedef struct /* Set the short-call flag for any function compiled in the current compilation unit. We skip this for functions with the section - attirubte when long-calls are in effect as this tells the compiler + attribute when long-calls are in effect as this tells the compiler that the section might be placed a long way from the caller. See arm_is_longcall_p() for more information. */ #define ARM_DECLARE_FUNCTION_SIZE(STREAM, NAME, DECL) \ diff --git a/gcc/config/arm/arm.md b/gcc/config/arm/arm.md index 08d62e9..13e81e4 100644 --- a/gcc/config/arm/arm.md +++ b/gcc/config/arm/arm.md @@ -117,7 +117,7 @@ (VUNSPEC_WCMP_EQ 11) ; Used by the iWMMXt WCMPEQ instructions (VUNSPEC_WCMP_GTU 12) ; Used by the iWMMXt WCMPGTU instructions (VUNSPEC_WCMP_GT 13) ; Used by the iwMMXT WCMPGT instructions - (VUNSPEC_EH_RETURN 20); Use to overrite the return address for exception + (VUNSPEC_EH_RETURN 20); Use to override the return address for exception ; handling. ] ) diff --git a/gcc/config/arm/bpabi.h b/gcc/config/arm/bpabi.h index e2be114..c152577 100644 --- a/gcc/config/arm/bpabi.h +++ b/gcc/config/arm/bpabi.h @@ -33,7 +33,7 @@ calling convention. */ #define FLOAT_LIB_COMPARE_RETURNS_BOOL(MODE, COMPARISON) TARGET_BPABI -/* The BPABI integer comparision routines return { -1, 0, 1 }. */ +/* The BPABI integer comparison routines return { -1, 0, 1 }. */ #define TARGET_LIB_INT_CMP_BIASED !TARGET_BPABI /* Tell the assembler to build BPABI binaries. */ diff --git a/gcc/config/arm/predicates.md b/gcc/config/arm/predicates.md index 01095a5..79b28e7 100644 --- a/gcc/config/arm/predicates.md +++ b/gcc/config/arm/predicates.md @@ -171,7 +171,7 @@ (and (match_code "plus,minus,ior,xor,and") (match_test "mode == GET_MODE (op)"))) -;; True for logical binary opertors. +;; True for logical binary operators. (define_special_predicate "logical_binary_operator" (and (match_code "ior,xor,and") (match_test "mode == GET_MODE (op)"))) diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c index c2353e3..cd1d47b 100644 --- a/gcc/config/darwin.c +++ b/gcc/config/darwin.c @@ -62,7 +62,7 @@ Boston, MA 02111-1307, USA. */ are required by consumers of the generated code. Currently, gdb uses this to patch in a jump to the overriding function, this allows all uses of the old name to forward to the replacement, - including existing function poiinters and virtual methods. See + including existing function pointers and virtual methods. See rs6000_emit_prologue for the code that handles the nop insertions. The added indirection allows gdb to redirect accesses to static diff --git a/gcc/config/frv/frv.c b/gcc/config/frv/frv.c index c3d5f5e..e2e01fe 100644 --- a/gcc/config/frv/frv.c +++ b/gcc/config/frv/frv.c @@ -8638,7 +8638,7 @@ frv_pack_insn_p (rtx insn) - Conditional instructions are scheduled on the assumption that they will be executed. This is usually a good thing, since it - tends to avoid unncessary stalls in the conditional code. + tends to avoid unnecessary stalls in the conditional code. But we want to pack conditional instructions as tightly as possible, in order to optimize the case where they aren't executed. @@ -9553,7 +9553,7 @@ frv_int_to_acc (enum insn_code icode, int opnum, rtx opval) /* ACCs and ACCGs are implicity global registers if media instrinsics are being used. We set up this lazily to avoid creating lots of - unncessary call_insn rtl in non-media code. */ + unnecessary call_insn rtl in non-media code. */ for (i = 0; i <= ACC_MASK; i++) if ((i & ACC_MASK) == i) global_regs[i + ACC_FIRST] = global_regs[i + ACCG_FIRST] = 1; @@ -9647,7 +9647,7 @@ frv_read_iacc_argument (enum machine_mode mode, tree *arglistptr) } /* IACCs are implicity global registers. We set up this lazily to - avoid creating lots of unncessary call_insn rtl when IACCs aren't + avoid creating lots of unnecessary call_insn rtl when IACCs aren't being used. */ regno = INTVAL (op) + IACC_FIRST; for (i = 0; i < HARD_REGNO_NREGS (regno, mode); i++) diff --git a/gcc/config/frv/frv.md b/gcc/config/frv/frv.md index 02dce0d..fc6e95f 100644 --- a/gcc/config/frv/frv.md +++ b/gcc/config/frv/frv.md @@ -477,7 +477,7 @@ ;; X + L when each S''[X] is added. If so, set S to the ;; concatenation of S[0]...S[L-1] and S'', then goto (i). ;; -;; (h) If (g) found no permuation, abort. +;; (h) If (g) found no permutation, abort. ;; ;; (i) S is now the sorted sequence for this group, meaning that S[X] ;; issues to unit X. Trim any unwanted nops from the end of S. diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md index e718a82..2eec351 100644 --- a/gcc/config/h8300/h8300.md +++ b/gcc/config/h8300/h8300.md @@ -5994,7 +5994,7 @@ (match_operand 3 "h8300_src_operand" "")])) (set (match_operand 4 "memory_operand" "") (match_dup 0))] - "0 /* Disabale because it break compiling fp-bit.c. */ + "0 /* Disable because it breaks compiling fp-bit.c. */ && TARGET_H8300SX && peep2_reg_dead_p (3, operands[0]) && !reg_overlap_mentioned_p (operands[0], operands[3]) @@ -6024,7 +6024,7 @@ (match_operator 3 "h8sx_binary_memory_operator" [(match_operand 4 "h8300_dst_operand" "") (match_dup 0)]))] - "0 /* Disabale because it break compiling fp-bit.c. */ + "0 /* Disable because it breaks compiling fp-bit.c. */ && TARGET_H8300SX && peep2_reg_dead_p (2, operands[0]) && !reg_overlap_mentioned_p (operands[0], operands[4])" diff --git a/gcc/config/i386/gmm_malloc.h b/gcc/config/i386/gmm_malloc.h index c2454cd..5e62664 100644 --- a/gcc/config/i386/gmm_malloc.h +++ b/gcc/config/i386/gmm_malloc.h @@ -47,7 +47,7 @@ _mm_malloc (size_t size, size_t align) return ((void *) 0); /* Assume malloc'd pointer is aligned at least to sizeof (void*). - If necesary, add another sizeof (void*) to store the value + If necessary, add another sizeof (void*) to store the value returned by malloc. Effectively this enforces a minimum alignment of sizeof double. */ if (align < 2 * sizeof (void *)) diff --git a/gcc/config/ia64/ia64.md b/gcc/config/ia64/ia64.md index 4b9a4b9..31f14bb 100644 --- a/gcc/config/ia64/ia64.md +++ b/gcc/config/ia64/ia64.md @@ -345,7 +345,7 @@ (and (match_code "const_int") (match_test "INTVAL (op) >= 0 && INTVAL (op) < 32"))) -;; True if OP is one of the immediate valuse 2, 4, 8, or 16. +;; True if OP is one of the immediate values 2, 4, 8, or 16. (define_predicate "shladd_operand" (and (match_code "const_int") (match_test "INTVAL (op) == 2 || INTVAL (op) == 4 || diff --git a/gcc/config/ip2k/libgcc.S b/gcc/config/ip2k/libgcc.S index 6a0e8c6..a01b2f7 100644 --- a/gcc/config/ip2k/libgcc.S +++ b/gcc/config/ip2k/libgcc.S @@ -1498,7 +1498,7 @@ _abort: #endif #if defined(Lwrite) - /* Dummy entrypoint to suppress problems with glue code. */ + /* Dummy entry point to suppress problems with glue code. */ .sect .text.libgcc,"ax" .global _write .func write, _write diff --git a/gcc/config/mips/mips-ps-3d.md b/gcc/config/mips/mips-ps-3d.md index 766abdc..911c4a4 100644 --- a/gcc/config/mips/mips-ps-3d.md +++ b/gcc/config/mips/mips-ps-3d.md @@ -277,7 +277,7 @@ (set_attr "mode" "SF")]) ;---------------------------------------------------------------------------- -; Floating Point Comparisions for Scalars +; Floating Point Comparisons for Scalars ;---------------------------------------------------------------------------- (define_insn "mips_cabs_cond_<fmt>" @@ -293,7 +293,7 @@ ;---------------------------------------------------------------------------- -; Floating Point Comparisions for Four Singles +; Floating Point Comparisons for Four Singles ;---------------------------------------------------------------------------- (define_insn_and_split "mips_c_cond_4s" @@ -356,7 +356,7 @@ ;---------------------------------------------------------------------------- -; Floating Point Comparisions for Paired Singles +; Floating Point Comparisons for Paired Singles ;---------------------------------------------------------------------------- (define_insn "mips_c_cond_ps" diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index b3be4bb..f0887d5 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -1935,7 +1935,7 @@ mips_rtx_costs (rtx x, int code, int outer_code, int *total) Given the choice between "li R1,0...255" and "move R1,R2" (where R2 is a known constant), it is usually better to use "li", - since we do not want to unnessarily extend the lifetime of R2. */ + since we do not want to unnecessarily extend the lifetime of R2. */ if (outer_code == SET && INTVAL (x) >= 0 && INTVAL (x) < 256) @@ -9604,7 +9604,7 @@ mips_expand_builtin_direct (enum insn_code icode, rtx target, tree arglist) /* Expand a __builtin_mips_movt_*_ps() or __builtin_mips_movf_*_ps() function (TYPE says which). ARGLIST is the list of arguments to the function, ICODE is the instruction that should be used to compare - the first two arguments, and COND is the conditon it should test. + the first two arguments, and COND is the condition it should test. TARGET, if nonnull, suggests a good place to put the result. */ static rtx diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 2dc1f77..4e31b2c 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -17188,7 +17188,7 @@ rs6000_rtx_costs (rtx x, int code, int outer_code, int *total) case MEM: /* When optimizing for size, MEM should be slightly more expensive than generating address, e.g., (plus (reg) (const)). - L1 cache latecy is about two instructions. */ + L1 cache latency is about two instructions. */ *total = optimize_size ? COSTS_N_INSNS (1) + 1 : COSTS_N_INSNS (2); return true; diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index 3a7e689..f59317a 100644 --- a/gcc/config/s390/s390.c +++ b/gcc/config/s390/s390.c @@ -2543,7 +2543,7 @@ legitimate_la_operand_p (register rtx op) return FALSE; } -/* Return 1 if it is valid *and* preferrable to use LA to +/* Return 1 if it is valid *and* preferable to use LA to compute the sum of OP1 and OP2. */ int diff --git a/gcc/config/sh/symbian.c b/gcc/config/sh/symbian.c index 0469c54..b729fea 100644 --- a/gcc/config/sh/symbian.c +++ b/gcc/config/sh/symbian.c @@ -230,8 +230,8 @@ sh_symbian_mark_dllexport (tree decl) /* Remove DLL_IMPORT_PREFIX. Note - we do not issue a warning here. In Symbian's environment it is legitimate for a prototype to be marked as dllimport and the - corresponding defintion to be marked as dllexport. The prototypes - are in headers used everywhere and the defintion is in a translation + corresponding definition to be marked as dllexport. The prototypes + are in headers used everywhere and the definition is in a translation unit which has included the header in order to ensure argument correctness. */ oldname += strlen (DLL_IMPORT_PREFIX); @@ -448,8 +448,8 @@ sh_symbian_handle_dll_attribute (tree *pnode, tree name, tree args, } } - /* If the node is an overloaded constructor or desctructor, then we must - make sure that the attribute is propogated along the overload chain, + /* If the node is an overloaded constructor or destructor, then we must + make sure that the attribute is propagated along the overload chain, as it is these overloaded functions which will be emitted, rather than the user declared constructor itself. */ if (TREE_CODE (TREE_TYPE (node)) == METHOD_TYPE @@ -488,7 +488,7 @@ sh_symbian_handle_dll_attribute (tree *pnode, tree name, tree args, symbian_add_attribute (function, attr); - /* Propogate the attribute to any function thunks as well. */ + /* Propagate the attribute to any function thunks as well. */ for (thunk = DECL_THUNKS (function); thunk; thunk = TREE_CHAIN (thunk)) if (TREE_CODE (thunk) == FUNCTION_DECL) symbian_add_attribute (thunk, attr); @@ -497,7 +497,7 @@ sh_symbian_handle_dll_attribute (tree *pnode, tree name, tree args, if (TREE_CODE (node) == FUNCTION_DECL && DECL_VIRTUAL_P (node)) { - /* Propogate the attribute to any thunks of this function. */ + /* Propagate the attribute to any thunks of this function. */ for (thunk = DECL_THUNKS (node); thunk; thunk = TREE_CHAIN (thunk)) if (TREE_CODE (thunk) == FUNCTION_DECL) symbian_add_attribute (thunk, attr); @@ -879,7 +879,7 @@ symbian_import_export_class (tree ctype, int import_export) return import_export; } -/* Dummy defintion of this array for cc1 building purposes. */ +/* Dummy definition of this array for cc1 building purposes. */ tree cp_global_trees[CPTI_MAX] __attribute__((weak)); #if defined ENABLE_TREE_CHECKING && (GCC_VERSION >= 2007) |