aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-10-10 13:16:35 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-10-10 13:16:35 +0000
commitf0b698c1cf8da8f076e191544184d91bde68b79d (patch)
tree37f1c4d8b2ddd462150ec4d523dd50f341157194 /gcc
parent36700ac888815e9d6c594d3f8a93517d1417add1 (diff)
downloadgcc-f0b698c1cf8da8f076e191544184d91bde68b79d.zip
gcc-f0b698c1cf8da8f076e191544184d91bde68b79d.tar.gz
gcc-f0b698c1cf8da8f076e191544184d91bde68b79d.tar.bz2
* tree-cfg.c: Fix comment typos.
From-SVN: r88845
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/tree-cfg.c10
2 files changed, 9 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f7cfba9..ba5c10c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2004-10-10 Kazu Hirata <kazu@cs.umass.edu>
+
+ * tree-cfg.c: Fix comment typos.
+
2004-10-10 Joseph S. Myers <jsm@polyomino.org.uk>
PR c/17301
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c
index 8bdfe5b..2de38f7 100644
--- a/gcc/tree-cfg.c
+++ b/gcc/tree-cfg.c
@@ -150,7 +150,7 @@ build_tree_cfg (tree *tp)
if (found_computed_goto)
factor_computed_gotos ();
- /* Make sure there is always at least one block, even if its empty. */
+ /* Make sure there is always at least one block, even if it's empty. */
if (n_basic_blocks == 0)
create_empty_bb (ENTRY_BLOCK_PTR);
@@ -607,8 +607,8 @@ label_to_block (tree dest)
{
int uid = LABEL_DECL_UID (dest);
- /* We would die hard when faced by undefined label. Emit label to
- very first basic block. This will hopefully make even the dataflow
+ /* We would die hard when faced by an undefined label. Emit a label to
+ the very first basic block. This will hopefully make even the dataflow
and undefined variable warnings quite right. */
if ((errorcount || sorrycount) && uid < 0)
{
@@ -802,7 +802,7 @@ cleanup_dead_labels (void)
label_for_bb = xcalloc (last_basic_block, sizeof (tree));
/* Find a suitable label for each block. We use the first user-defined
- label is there is one, or otherwise just the first label we see. */
+ label if there is one, or otherwise just the first label we see. */
FOR_EACH_BB (bb)
{
block_stmt_iterator i;
@@ -3638,7 +3638,7 @@ tree_verify_flow_info (void)
}
-/* Updates phi nodes after creating forwarder block joined
+/* Updates phi nodes after creating a forwarder block joined
by edge FALLTHRU. */
static void