From 249eb5068f2182a7c2ef08de73a35e50a0670fd3 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Sun, 7 Jun 2009 21:29:43 +0200 Subject: [PATCH] errors.c (internal_error): Commentary typo fix. 2009-06-07 Bernhard Reutner-Fischer * errors.c (internal_error): Commentary typo fix. * gimple-iterator.c (gsi_insert_seq_on_edge): Ditto. * tree-ssa-pre.c: Ditto. From-SVN: r148257 --- gcc/ChangeLog | 11 +++++++++-- gcc/errors.c | 3 ++- gcc/gimple-iterator.c | 2 +- gcc/tree-ssa-pre.c | 8 ++++---- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6e6ac9c0c1a..9828b16cb48 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,7 +1,14 @@ 2009-06-07 Bernhard Reutner-Fischer - * basic-block.h (ENTRY_BLOCK, EXIT_BLOCK): Document that neither of - them is supposed to hold actual statements. + * errors.c (internal_error): Commentary typo fix. + * gimple-iterator.c (gsi_insert_seq_on_edge): Ditto. + * tree-ssa-pre.c: Ditto. + +2009-06-07 Bernhard Reutner-Fischer + + * errors.c (internal_error): Commentary typo fix. + * gimple-iterator.c (gsi_insert_seq_on_edge): Ditto. + * tree-ssa-pre.c: Ditto. 2009-06-06 Ian Lance Taylor diff --git a/gcc/errors.c b/gcc/errors.c index d89e14d94d6..c75b361fb02 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 a52c83072b4..666b47b47a8 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 fc311bcdbf9..11640a8895e 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