From 44c7bd63b6cb84d93f1408574bc2fb74179ba445 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sat, 17 Mar 2007 17:44:02 +0000 Subject: [PATCH] arm.c, [...]: Fix comment typos. * config/arm/arm.c, config/arm/thumb2.md, config/m68k/m68k.c, config/spu/spu.c, omega.h, passes.c, predict.c: Fix comment typos. * doc/cpp.texi, doc/extend.texi, doc/invoke.texi: Fix typos. Follow spelling conventions. From-SVN: r123025 --- gcc/ChangeLog | 8 ++++++++ gcc/config/arm/arm.c | 2 +- gcc/config/arm/thumb2.md | 2 +- gcc/config/m68k/m68k.c | 2 +- gcc/config/spu/spu.c | 2 +- gcc/doc/cpp.texi | 2 +- gcc/doc/extend.texi | 2 +- gcc/doc/invoke.texi | 2 +- gcc/omega.h | 2 +- gcc/passes.c | 2 +- gcc/predict.c | 4 ++-- 11 files changed, 19 insertions(+), 11 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e7c89c0f4bd..895e561077f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2007-03-17 Kazu Hirata + + * config/arm/arm.c, config/arm/thumb2.md, config/m68k/m68k.c, + config/spu/spu.c, omega.h, passes.c, predict.c: Fix comment + typos. + * doc/cpp.texi, doc/extend.texi, doc/invoke.texi: Fix typos. + Follow spelling conventions. + 2007-03-17 Dorit Nuzman PR tree-optimization/31041 diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 74a9e008ca5..cab9eadbf7f 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -12247,7 +12247,7 @@ get_arm_condition_code (rtx comparison) } } -/* Tell arm_asm_ouput_opcode to output IT blocks for conditionally executed +/* Tell arm_asm_output_opcode to output IT blocks for conditionally executed instructions. */ void thumb2_final_prescan_insn (rtx insn) diff --git a/gcc/config/arm/thumb2.md b/gcc/config/arm/thumb2.md index a8fbcbcd3ba..685da30d2ab 100644 --- a/gcc/config/arm/thumb2.md +++ b/gcc/config/arm/thumb2.md @@ -277,7 +277,7 @@ ) ;; Thumb-2 always has load/store halfword instructions, so we can avoid a lot -;; of the messyness associated with the ARM patterns. +;; of the messiness associated with the ARM patterns. (define_insn "*thumb2_movhi_insn" [(set (match_operand:HI 0 "nonimmediate_operand" "=r,r,m,r") (match_operand:HI 1 "general_operand" "rI,n,r,m"))] diff --git a/gcc/config/m68k/m68k.c b/gcc/config/m68k/m68k.c index 99dedb847b9..794659868a3 100644 --- a/gcc/config/m68k/m68k.c +++ b/gcc/config/m68k/m68k.c @@ -3732,7 +3732,7 @@ print_operand_address (FILE *file, rtx addr) int labelno; /* If ADDR is a (d8,pc,Xn) address, this is the number of the - label being acceesed, otherwise it is -1. */ + label being accessed, otherwise it is -1. */ labelno = (address.offset && !address.base && GET_CODE (address.offset) == LABEL_REF diff --git a/gcc/config/spu/spu.c b/gcc/config/spu/spu.c index 252183b8b78..8512333da23 100644 --- a/gcc/config/spu/spu.c +++ b/gcc/config/spu/spu.c @@ -1377,7 +1377,7 @@ print_operand (FILE * file, rtx x, int code) output_addr_const (file, x); return; - /* unsed letters + /* unused letters o qr uvw yz AB OPQR UVWXYZ */ default: diff --git a/gcc/doc/cpp.texi b/gcc/doc/cpp.texi index f0e2bb9d78f..2a57feec9df 100644 --- a/gcc/doc/cpp.texi +++ b/gcc/doc/cpp.texi @@ -2030,7 +2030,7 @@ neither @code{extern} nor @code{static} will never be compiled as a standalone function. If this macro is defined, GCC supports the @code{gnu_inline} function -attribute as a way to always get the gnu89 behaviour. Support for +attribute as a way to always get the gnu89 behavior. Support for this and @code{__GNUC_GNU_INLINE__} was added in GCC 4.1.3. If neither macro is defined, an older version of GCC is being used: @code{inline} functions will be compiled in gnu89 mode, and the diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 8257fdc421b..d01e5fab3a1 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -2262,7 +2262,7 @@ unlikely executed. The function is optimized for size rather than speed and on many targets it is placed into special subsection of the text section so all cold functions appears close together improving code locality of non-cold parts of program. The paths leading to call of cold functions within code are marked -as unlikely by the branch prediction mechanizm. It is thus useful to mark +as unlikely by the branch prediction mechanism. It is thus useful to mark functions used to handle unlikely conditions, such as @code{perror}, as cold to improve optimization of hot functions that do call marked functions in rare occasions. diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index b3fe7529f42..b11681b9ad9 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -1376,7 +1376,7 @@ C99 semantics for @code{inline} when in C99 or gnu99 mode (i.e., it specifies the default behavior). This option was first supported in GCC 4.3. This option is not supported in C89 or gnu89 mode. -The preprocesor macros @code{__GNUC_GNU_INLINE__} and +The preprocessor macros @code{__GNUC_GNU_INLINE__} and @code{__GNUC_STDC_INLINE__} may be used to check which semantics are in effect for @code{inline} functions. @xref{Common Predefined Macros,,,cpp,The C Preprocessor}. diff --git a/gcc/omega.h b/gcc/omega.h index c050a6e0329..0d6b403954f 100644 --- a/gcc/omega.h +++ b/gcc/omega.h @@ -198,7 +198,7 @@ omega_copy_eqn (eqn e1, eqn e2, int s) memcpy (e1->coef, e2->coef, (s + 1) * sizeof (int)); } -/* Intialize E = 0. Equation E contains S variables. */ +/* Initialize E = 0. Equation E contains S variables. */ static inline void omega_init_eqn_zero (eqn e, int s) diff --git a/gcc/passes.c b/gcc/passes.c index b93cc6c262f..5674d9b6b96 100644 --- a/gcc/passes.c +++ b/gcc/passes.c @@ -460,7 +460,7 @@ init_optimization_passes (void) /* Interprocedural optimization passes. All these passes are ignored in -fno-unit-at-a-time - except for subpases of early_local_pases. */ + except for subpasses of early_local_passes. */ p = &all_ipa_passes; NEXT_PASS (pass_ipa_function_and_variable_visibility); NEXT_PASS (pass_ipa_early_inline); diff --git a/gcc/predict.c b/gcc/predict.c index f8a6a1175f2..097cfb86070 100644 --- a/gcc/predict.c +++ b/gcc/predict.c @@ -1311,10 +1311,10 @@ tree_estimate_probability (void) care for error returns and other cases are often used for fast paths through function. - Since we've already removed the return statments, we are + Since we've already removed the return statements, we are looking for CFG like: - if (conditoinal) + if (conditional) { .. goto return_block