This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] gcc/*: Fix comment/doc typos.


Hi,

Committed as obvious.

Kazu Hirata

2005-06-26  Kazu Hirata  <kazu@codesourcery.com>

	* cfg.c, tree-vect-transform.c, tree.def: Fix comment typos.
	* doc/invoke.texi: Fix typos.

Index: cfg.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cfg.c,v
retrieving revision 1.97
diff -u -d -p -r1.97 cfg.c
--- cfg.c	25 Jun 2005 11:59:55 -0000	1.97
+++ cfg.c	26 Jun 2005 18:37:29 -0000
@@ -947,7 +947,8 @@ scale_bbs_frequencies_gcov_type (basic_b
     }
 }
 
-/* Datastructures used to maintain mapping between basic blocks and copies.  */
+/* Data structures used to maintain mapping between basic blocks and
+   copies.  */
 static htab_t bb_original;
 static htab_t bb_copy;
 static alloc_pool original_copy_bb_pool;
@@ -979,7 +980,8 @@ bb_copy_original_eq (const void *p, cons
   return data->index1 == data2->index1;
 }
 
-/* Initialize the datstructures to maintain mapping between blocks and it's copies.  */
+/* Initialize the data structures to maintain mapping between blocks
+   and its copies.  */
 void
 initialize_original_copy_tables (void)
 {
@@ -992,7 +994,8 @@ initialize_original_copy_tables (void)
   bb_copy = htab_create (10, bb_copy_original_hash, bb_copy_original_eq, NULL);
 }
 
-/* Free the datstructures to maintain mapping between blocks and it's copies.  */
+/* Free the data structures to maintain mapping between blocks and
+   its copies.  */
 void
 free_original_copy_tables (void)
 {
@@ -1005,8 +1008,8 @@ free_original_copy_tables (void)
   original_copy_bb_pool = NULL;
 }
 
-/* Set original for basic block.  Do nothing when datstructures are not
-   intialized so passes not needing this don't need to care.  */
+/* Set original for basic block.  Do nothing when data structures are not
+   initialized so passes not needing this don't need to care.  */
 void
 set_bb_original (basic_block bb, basic_block original)
 {
@@ -1047,8 +1050,8 @@ get_bb_original (basic_block bb)
     return NULL;
 }
 
-/* Set copy for basic block.  Do nothing when datstructures are not
-   intialized so passes not needing this don't need to care.  */
+/* Set copy for basic block.  Do nothing when data structures are not
+   initialized so passes not needing this don't need to care.  */
 void
 set_bb_copy (basic_block bb, basic_block copy)
 {
Index: tree-vect-transform.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-vect-transform.c,v
retrieving revision 2.29
diff -u -d -p -r2.29 tree-vect-transform.c
--- tree-vect-transform.c	25 Jun 2005 02:01:50 -0000	2.29
+++ tree-vect-transform.c	26 Jun 2005 18:37:29 -0000
@@ -928,7 +928,7 @@ vect_create_epilog_for_reduction (tree v
 
       /* The result of the reduction is expected to be at the LSB bits
 	 of the vector. For big-endian targets this means at the right
-	 end of the vector. For little-edian targets this means at the
+	 end of the vector. For little-endian targets this means at the
 	 left end of the vector.  */
 
       if (BITS_BIG_ENDIAN
Index: tree.def
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree.def,v
retrieving revision 1.119
diff -u -d -p -r1.119 tree.def
--- tree.def	25 Jun 2005 02:01:55 -0000	1.119
+++ tree.def	26 Jun 2005 18:37:29 -0000
@@ -957,7 +957,7 @@ DEFTREECODE (REDUC_MAX_EXPR, "reduc_max_
 DEFTREECODE (REDUC_MIN_EXPR, "reduc_min_expr", tcc_unary, 1)
 DEFTREECODE (REDUC_PLUS_EXPR, "reduc_plus_expr", tcc_unary, 1)
 
-/* Whole vector lesft/right shift in bytes.
+/* Whole vector left/right shift in bytes.
    Operand 0 is a vector to be shifted.
    Operand 1 is an integer shift amount in bits.  */
 DEFTREECODE (VEC_LSHIFT_EXPR, "vec_lshift_expr", tcc_binary, 2)
Index: doc/invoke.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/invoke.texi,v
retrieving revision 1.638
diff -u -d -p -r1.638 invoke.texi
--- doc/invoke.texi	24 Jun 2005 15:14:01 -0000	1.638
+++ doc/invoke.texi	26 Jun 2005 18:37:29 -0000
@@ -5260,10 +5260,10 @@ variable tracking.
 @opindex fwhole-program
 Assume that the current compilation unit represents whole program being
 compiled.  All public functions and variables with the exception of @code{main}
-and those marged by attribute @code{externally_visible} become static functions
-and in a affect gets more aggresively optimized by interprocedural optimizers.
+and those merged by attribute @code{externally_visible} become static functions
+and in a affect gets more aggressively optimized by interprocedural optimizers.
 While this option is equivalent to proper use of @code{static} keyword for
-programs consitsting of single file, in combination with option
+programs consisting of single file, in combination with option
 @option{--combine} this flag can be used to compile most of smaller scale C
 programs since the functions and variables become local for the whole combined
 compilation unit, not for the single source file itself.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]