aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2007-03-17 17:44:02 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2007-03-17 17:44:02 +0000
commit44c7bd63b6cb84d93f1408574bc2fb74179ba445 (patch)
tree53acd4868efeee02477736aa3dc09717ec6a8df9 /gcc
parenta757b5c594279e7e3a4a51bf5748dbd0785a3fbc (diff)
downloadgcc-44c7bd63b6cb84d93f1408574bc2fb74179ba445.zip
gcc-44c7bd63b6cb84d93f1408574bc2fb74179ba445.tar.gz
gcc-44c7bd63b6cb84d93f1408574bc2fb74179ba445.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/config/arm/arm.c2
-rw-r--r--gcc/config/arm/thumb2.md2
-rw-r--r--gcc/config/m68k/m68k.c2
-rw-r--r--gcc/config/spu/spu.c2
-rw-r--r--gcc/doc/cpp.texi2
-rw-r--r--gcc/doc/extend.texi2
-rw-r--r--gcc/doc/invoke.texi2
-rw-r--r--gcc/omega.h2
-rw-r--r--gcc/passes.c2
-rw-r--r--gcc/predict.c4
11 files changed, 19 insertions, 11 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e7c89c0..895e561 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,11 @@
+2007-03-17 Kazu Hirata <kazu@codesourcery.com>
+
+ * 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 <dorit@il.ibm.com>
PR tree-optimization/31041
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
index 74a9e00..cab9ead 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 a8fbcbc..685da30 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 99dedb8..7946598 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 252183b..8512333 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 f0e2bb9..2a57fee 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 8257fdc..d01e5fa 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 b3fe752..b11681b 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 c050a6e..0d6b403 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 b93cc6c..5674d9b 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 f8a6a11..097cfb8 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