OSDN Git Service

* defaults.h, stmt.c, tree-cfg.c, tree-ssa-dce.c: Fix comment
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 Dec 2004 16:03:40 +0000 (16:03 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 Dec 2004 16:03:40 +0000 (16:03 +0000)
typos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92092 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/defaults.h
gcc/stmt.c
gcc/tree-cfg.c
gcc/tree-ssa-dce.c

index d991115..eee53ac 100644 (file)
@@ -6,6 +6,9 @@
        * tree-ssa-dom.c (record_equivalences_from_phis): Add a
        comment.
 
+       * defaults.h, stmt.c, tree-cfg.c, tree-ssa-dce.c: Fix comment
+       typos.
+
 2004-12-13  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
 
        * config/m32r/t-linux (SHLIB_MAPFILES): Add libgcc-glibc.ver to
index a60d2a2..1c95c6a 100644 (file)
@@ -339,7 +339,7 @@ do { fputs (integer_asm_op (POINTER_SIZE / BITS_PER_UNIT, TRUE), FILE); \
 #endif
 #endif
 
-/* This decision to use a .jcr section can be overriden by defining
+/* This decision to use a .jcr section can be overridden by defining
    USE_JCR_SECTION to 0 in target file.  This is necessary if target
    can define JCR_SECTION_NAME but does not have crtstuff or
    linker support for .jcr section.  */
index 5e3f364..6e21b54 100644 (file)
@@ -3041,11 +3041,12 @@ emit_case_nodes (rtx index, case_node_ptr node, rtx default_label,
 
       else if (node->right != 0 && node->left == 0)
        {
-         /* Here we have a right child but no left so we issue conditional
+         /* Here we have a right child but no left so we issue conditional
             branch to default and process the right child.
 
-            Omit the conditional branch to default if we it avoid only one
-            right child; it costs too much space to save so little time.  */
+            Omit the conditional branch to default if the right child
+            does not have any children and is single valued; it would
+            cost too much space to save so little time.  */
 
          if (node->right->right || node->right->left
              || !tree_int_cst_equal (node->right->low, node->right->high))
index a7d2441..457ad9c 100644 (file)
@@ -450,7 +450,7 @@ make_edges (void)
      statements in it.  */
   make_edge (ENTRY_BLOCK_PTR, BASIC_BLOCK (0), EDGE_FALLTHRU);
 
-  /* Traverse basic block array placing edges.  */
+  /* Traverse the basic block array placing edges.  */
   FOR_EACH_BB (bb)
     {
       tree first = first_stmt (bb);
@@ -3087,8 +3087,8 @@ bsi_insert_on_edge (edge e, tree stmt)
   append_to_statement_list (stmt, &PENDING_STMT (e));
 }
 
-/* Similar to bsi_insert_on_edge+bsi_commit_edge_inserts.  If new block has to
-   be created, it is returned.  */
+/* Similar to bsi_insert_on_edge+bsi_commit_edge_inserts.  If a new
+   block has to be created, it is returned.  */
 
 basic_block
 bsi_insert_on_edge_immediate (edge e, tree stmt)
@@ -3941,7 +3941,7 @@ has_abnormal_incoming_edge_p (basic_block bb)
   return false;
 }
 
-/* Removes forwarder block BB.  Returns false if this failed.  If new
+/* Removes forwarder block BB.  Returns false if this failed.  If new
    forwarder block is created due to redirection of edges, it is
    stored to worklist.  */
 
index 502117c..f37430d 100644 (file)
@@ -264,7 +264,7 @@ mark_operand_necessary (tree op, bool phionly)
 }
 \f
 
-/* Mark STMT as necessary if it is obviously is.  Add it to the worklist if
+/* Mark STMT as necessary if it obviously is.  Add it to the worklist if
    it can make other statements necessary.
 
    If AGGRESSIVE is false, control statements are conservatively marked as