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] Commentary typo fixes


:ADDPATCH gcc:

	* errors.c (internal_error): Commentary typo fix.
	* gimple-iterator.c (gsi_insert_seq_on_edge): Ditto.
	* tree-ssa-pre.c: Ditto.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
---
 gcc/ChangeLog         |    6 ++++++
 gcc/errors.c          |    3 ++-
 gcc/gimple-iterator.c |    2 +-
 gcc/tree-ssa-pre.c    |    8 ++++----
 4 files changed, 13 insertions(+), 6 deletions(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 58dad50..71930e9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,11 @@
 2009-06-04  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
 
+	* errors.c (internal_error): Commentary typo fix.
+	* gimple-iterator.c (gsi_insert_seq_on_edge): Ditto.
+	* tree-ssa-pre.c: Ditto.
+
+2009-06-04  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
+
 	* basic-block.h (ENTRY_BLOCK, EXIT_BLOCK): Document that neither of
 	them is supposed to hold actual statements.
 
diff --git a/gcc/errors.c b/gcc/errors.c
index d89e14d..c75b361 100644
--- a/gcc/errors.c
+++ b/gcc/errors.c
@@ -104,7 +104,8 @@ internal_error (const char *format, ...)
    shares no directory elements with the pathname of __FILE__.  This
    is used by fancy_abort() to print `Internal compiler error in expr.c'
    instead of `Internal compiler error in ../../GCC/gcc/expr.c'.  This
-   version if for the gen* programs and so needn't handle subdirectories.  */
+   version is ment to be used for the gen* programs and therefor need not
+   handle subdirectories.  */
 
 const char *
 trim_filename (const char *name)
diff --git a/gcc/gimple-iterator.c b/gcc/gimple-iterator.c
index a52c830..666b47b 100644
--- a/gcc/gimple-iterator.c
+++ b/gcc/gimple-iterator.c
@@ -604,7 +604,7 @@ gsi_insert_seq_on_edge (edge e, gimple_seq seq)
 
    In all cases, the returned *GSI points to the correct location.  The
    return value is true if insertion should be done after the location,
-   or false if it should be done before the location.  If new basic block
+   or false if it should be done before the location.  If a new basic block
    has to be created, it is stored in *NEW_BB.  */
 
 static bool
diff --git a/gcc/tree-ssa-pre.c b/gcc/tree-ssa-pre.c
index fc311bc..11640a8 100644
--- a/gcc/tree-ssa-pre.c
+++ b/gcc/tree-ssa-pre.c
@@ -134,7 +134,7 @@ along with GCC; see the file COPYING3.  If not see
 
 /* Representation of expressions on value numbers:
 
-   Expressions consisting of  value numbers are represented the same
+   Expressions consisting of value numbers are represented the same
    way as our VN internally represents them, with an additional
    "pre_expr" wrapping around them in order to facilitate storing all
    of the expressions in the same sets.  */
@@ -1290,7 +1290,7 @@ translate_vuse_through_block (VEC (vn_reference_op_s, heap) *operands,
   return NULL_TREE;
 }
 
-/* Like find_leader, but checks for the value existing in SET1 *or*
+/* Like bitmap_find_leader, but checks for the value existing in SET1 *or*
    SET2.  This is used to avoid making a set consisting of the union
    of PA_IN and ANTIC_IN during insert.  */
 
@@ -2562,8 +2562,8 @@ is_exception_related (gimple stmt)
 	      || gimple_assign_rhs_code (stmt) == EXC_PTR_EXPR));
 }
 
-/* Return true if OP is a tree which we can perform PRE on
-   on.  This may not match the operations we can value number, but in
+/* Return true if OP is a tree which we can perform PRE on.
+   This may not match the operations we can value number, but in
    a perfect world would.  */
 
 static bool

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