aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/cfg.c17
-rw-r--r--gcc/doc/invoke.texi6
-rw-r--r--gcc/tree-vect-transform.c2
-rw-r--r--gcc/tree.def2
5 files changed, 20 insertions, 12 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ac425e7..4454822 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+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>
* doc/install.texi (Specific): Do not specify the concrete
diff --git a/gcc/cfg.c b/gcc/cfg.c
index 044fcae..af8a377 100644
--- a/gcc/cfg.c
+++ b/gcc/cfg.c
@@ -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_copy;
static alloc_pool original_copy_bb_pool;
@@ -979,7 +980,8 @@ bb_copy_original_eq (const void *p, const void *q)
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)
{
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 4e229b0..41345ee 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -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.
diff --git a/gcc/tree-vect-transform.c b/gcc/tree-vect-transform.c
index 4878299..3ea6029 100644
--- a/gcc/tree-vect-transform.c
+++ b/gcc/tree-vect-transform.c
@@ -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
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
diff --git a/gcc/tree.def b/gcc/tree.def
index 52e6c11..43fa835 100644
--- a/gcc/tree.def
+++ b/gcc/tree.def
@@ -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_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)