Commit f341de7b by Kazu Hirata Committed by Kazu Hirata

cfg.c, [...]: Fix comment typos.

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

From-SVN: r101336
parent 5b65d351
2005-06-26 Kazu Hirata <kazu@codesourcery.com>
* cfg.c, tree-vect-transform.c, tree.def: Fix comment typos.
* doc/invoke.texi: Fix typos.
2005-06-26 Gerald Pfeifer <gerald@pfeifer.com> 2005-06-26 Gerald Pfeifer <gerald@pfeifer.com>
* doc/install.texi (Specific): Do not specify the concrete * doc/install.texi (Specific): Do not specify the concrete
......
...@@ -947,7 +947,8 @@ scale_bbs_frequencies_gcov_type (basic_block *bbs, int nbbs, gcov_type num, ...@@ -947,7 +947,8 @@ scale_bbs_frequencies_gcov_type (basic_block *bbs, int nbbs, gcov_type num,
} }
} }
/* 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_original;
static htab_t bb_copy; static htab_t bb_copy;
static alloc_pool original_copy_bb_pool; static alloc_pool original_copy_bb_pool;
...@@ -979,7 +980,8 @@ bb_copy_original_eq (const void *p, const void *q) ...@@ -979,7 +980,8 @@ bb_copy_original_eq (const void *p, const void *q)
return data->index1 == data2->index1; 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 void
initialize_original_copy_tables (void) initialize_original_copy_tables (void)
{ {
...@@ -992,7 +994,8 @@ 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); 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 void
free_original_copy_tables (void) free_original_copy_tables (void)
{ {
...@@ -1005,8 +1008,8 @@ free_original_copy_tables (void) ...@@ -1005,8 +1008,8 @@ free_original_copy_tables (void)
original_copy_bb_pool = NULL; original_copy_bb_pool = NULL;
} }
/* Set original for basic block. Do nothing when datstructures are not /* Set original for basic block. Do nothing when data structures are not
intialized so passes not needing this don't need to care. */ initialized so passes not needing this don't need to care. */
void void
set_bb_original (basic_block bb, basic_block original) set_bb_original (basic_block bb, basic_block original)
{ {
...@@ -1047,8 +1050,8 @@ get_bb_original (basic_block bb) ...@@ -1047,8 +1050,8 @@ get_bb_original (basic_block bb)
return NULL; return NULL;
} }
/* Set copy for basic block. Do nothing when datstructures are not /* Set copy for basic block. Do nothing when data structures are not
intialized so passes not needing this don't need to care. */ initialized so passes not needing this don't need to care. */
void void
set_bb_copy (basic_block bb, basic_block copy) set_bb_copy (basic_block bb, basic_block copy)
{ {
......
...@@ -5260,10 +5260,10 @@ variable tracking. ...@@ -5260,10 +5260,10 @@ variable tracking.
@opindex fwhole-program @opindex fwhole-program
Assume that the current compilation unit represents whole program being Assume that the current compilation unit represents whole program being
compiled. All public functions and variables with the exception of @code{main} compiled. All public functions and variables with the exception of @code{main}
and those marged by attribute @code{externally_visible} become static functions and those merged by attribute @code{externally_visible} become static functions
and in a affect gets more aggresively optimized by interprocedural optimizers. and in a affect gets more aggressively optimized by interprocedural optimizers.
While this option is equivalent to proper use of @code{static} keyword for 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 @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 programs since the functions and variables become local for the whole combined
compilation unit, not for the single source file itself. compilation unit, not for the single source file itself.
......
...@@ -928,7 +928,7 @@ vect_create_epilog_for_reduction (tree vect_def, tree stmt, tree reduction_op, ...@@ -928,7 +928,7 @@ vect_create_epilog_for_reduction (tree vect_def, tree stmt, tree reduction_op,
/* The result of the reduction is expected to be at the LSB bits /* 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 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. */ left end of the vector. */
if (BITS_BIG_ENDIAN if (BITS_BIG_ENDIAN
......
...@@ -957,7 +957,7 @@ DEFTREECODE (REDUC_MAX_EXPR, "reduc_max_expr", tcc_unary, 1) ...@@ -957,7 +957,7 @@ DEFTREECODE (REDUC_MAX_EXPR, "reduc_max_expr", tcc_unary, 1)
DEFTREECODE (REDUC_MIN_EXPR, "reduc_min_expr", tcc_unary, 1) DEFTREECODE (REDUC_MIN_EXPR, "reduc_min_expr", tcc_unary, 1)
DEFTREECODE (REDUC_PLUS_EXPR, "reduc_plus_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 0 is a vector to be shifted.
Operand 1 is an integer shift amount in bits. */ Operand 1 is an integer shift amount in bits. */
DEFTREECODE (VEC_LSHIFT_EXPR, "vec_lshift_expr", tcc_binary, 2) DEFTREECODE (VEC_LSHIFT_EXPR, "vec_lshift_expr", tcc_binary, 2)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment