This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] gcc/*.c: Fix typos in error/dump messages.
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 29 May 2005 15:37:04 -0400 (EDT)
- Subject: [patch] gcc/*.c: Fix typos in error/dump messages.
Hi,
Tested on i686-pc-linux-gnu. Committed as obvious.
Kazu Hirata
2005-05-29 Kazu Hirata <kazu@cs.umass.edu>
* cgraphunit.c, ipa-inline.c, loop-iv.c, modulo-sched.c,
opts.c, postreload-gcse.c, tree-browser.def, tree-eh.c,
tree-ssa-copyrename.c, tree-vect-analyze.c: Fix typos and
follow spelling conventions in error/dump messages.
Index: cgraphunit.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cgraphunit.c,v
retrieving revision 1.109
diff -u -d -p -r1.109 cgraphunit.c
--- cgraphunit.c 27 May 2005 21:17:50 -0000 1.109
+++ cgraphunit.c 29 May 2005 03:58:42 -0000
@@ -610,7 +610,7 @@ verify_cgraph_node (struct cgraph_node *
}
if (node->global.inlined_to == node)
{
- error ("Inlined_to pointer reffers to itself");
+ error ("Inlined_to pointer refers to itself");
error_found = true;
}
Index: ipa-inline.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ipa-inline.c,v
retrieving revision 2.6
diff -u -d -p -r2.6 ipa-inline.c
--- ipa-inline.c 26 May 2005 18:14:47 -0000 2.6
+++ ipa-inline.c 29 May 2005 03:58:43 -0000
@@ -630,7 +630,7 @@ cgraph_decide_inlining_of_small_function
edge->inline_failed
= (edge->callee->local.disregard_inline_limits ? N_("recursive inlining") : "");
if (dump_file)
- fprintf (dump_file, " inline_failed:Recursive inlining perfomed only for function itself.\n");
+ fprintf (dump_file, " inline_failed:Recursive inlining performed only for function itself.\n");
continue;
}
}
Index: loop-iv.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/loop-iv.c,v
retrieving revision 2.32
diff -u -d -p -r2.32 loop-iv.c
--- loop-iv.c 6 May 2005 20:24:00 -0000 2.32
+++ loop-iv.c 29 May 2005 03:58:44 -0000
@@ -844,7 +844,7 @@ iv_analyze_biv (rtx def, struct rtx_iv *
if (dump_file)
{
- fprintf (dump_file, "Analysing ");
+ fprintf (dump_file, "Analyzing ");
print_rtl (dump_file, def);
fprintf (dump_file, " for bivness.\n");
}
@@ -927,7 +927,7 @@ iv_analyze_op (rtx insn, rtx op, struct
if (dump_file)
{
- fprintf (dump_file, "Analysing operand ");
+ fprintf (dump_file, "Analyzing operand ");
print_rtl (dump_file, op);
fprintf (dump_file, " of insn ");
print_rtl_single (dump_file, insn);
@@ -1012,7 +1012,7 @@ iv_analyze (rtx insn, rtx def, struct rt
if (dump_file)
{
- fprintf (dump_file, "Analysing def of ");
+ fprintf (dump_file, "Analyzing def of ");
print_rtl (dump_file, def);
fprintf (dump_file, " in insn ");
print_rtl_single (dump_file, insn);
Index: modulo-sched.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/modulo-sched.c,v
retrieving revision 1.29
diff -u -d -p -r1.29 modulo-sched.c
--- modulo-sched.c 28 Apr 2005 02:25:22 -0000 1.29
+++ modulo-sched.c 29 May 2005 03:58:46 -0000
@@ -1283,7 +1283,7 @@ sms_schedule (FILE *dump_file)
/* SMS is not profitable so undo the permutation and reg move generation
and return the kernel to its original state. */
if (dump_file)
- fprintf (dump_file, "Undoing SMS becuase it is not profitable.\n");
+ fprintf (dump_file, "Undoing SMS because it is not profitable.\n");
}
else
Index: opts.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/opts.c,v
retrieving revision 1.110
diff -u -d -p -r1.110 opts.c
--- opts.c 26 May 2005 05:27:27 -0000 1.110
+++ opts.c 29 May 2005 03:58:47 -0000
@@ -927,7 +927,7 @@ common_handle_option (size_t scode, cons
else if (!strcmp(arg, "protected"))
default_visibility = VISIBILITY_PROTECTED;
else
- error ("unrecognised visibility value \"%s\"", arg);
+ error ("unrecognized visibility value \"%s\"", arg);
}
break;
Index: postreload-gcse.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/postreload-gcse.c,v
retrieving revision 2.14
diff -u -d -p -r2.14 postreload-gcse.c
--- postreload-gcse.c 27 Apr 2005 18:39:05 -0000 2.14
+++ postreload-gcse.c 29 May 2005 03:58:48 -0000
@@ -439,7 +439,7 @@ dump_hash_table_entry (void **slot, void
fprintf (file, "expr: ");
print_rtl (file, expr->expr);
fprintf (file,"\nhashcode: %u\n", expr->hash);
- fprintf (file,"list of occurences:\n");
+ fprintf (file,"list of occurrences:\n");
occr = expr->avail_occr;
while (occr)
{
Index: tree-browser.def
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-browser.def,v
retrieving revision 2.1
diff -u -d -p -r2.1 tree-browser.def
--- tree-browser.def 13 May 2004 06:39:47 -0000 2.1
+++ tree-browser.def 29 May 2005 03:58:48 -0000
@@ -33,7 +33,7 @@ DEFTBCODE (TB_UPDATE_UP, "update"
DEFTBCODE (TB_VERBOSE, "verbose", "Sets/unsets verbose mode (default is on).")
/* Walking commands. */
-DEFTBCODE (TB_FUN, "fun", "Go to the curent function declaration.")
+DEFTBCODE (TB_FUN, "fun", "Go to the current function declaration.")
DEFTBCODE (TB_NEXT, "nx", "Go to the next expression in a BIND_EXPR.")
DEFTBCODE (TB_PREV, "pr", "Go to the previous expression in a BIND_EXPR.")
DEFTBCODE (TB_UP, "up", "Go to the parent tree node.")
Index: tree-eh.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-eh.c,v
retrieving revision 2.40
diff -u -d -p -r2.40 tree-eh.c
--- tree-eh.c 27 May 2005 22:50:41 -0000 2.40
+++ tree-eh.c 29 May 2005 03:58:49 -0000
@@ -1826,7 +1826,7 @@ verify_eh_edges (tree stmt)
{
if ((e->flags & EDGE_EH) && !e->aux)
{
- error ("Unnecesary EH edge %i->%i", bb->index, e->dest->index);
+ error ("Unnecessary EH edge %i->%i", bb->index, e->dest->index);
mark_eh_edge_found_error = true;
return true;
}
Index: tree-ssa-copyrename.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-ssa-copyrename.c,v
retrieving revision 2.19
diff -u -d -p -r2.19 tree-ssa-copyrename.c
--- tree-ssa-copyrename.c 6 Nov 2004 19:59:19 -0000 2.19
+++ tree-ssa-copyrename.c 29 May 2005 03:58:49 -0000
@@ -253,7 +253,7 @@ copy_rename_partition_coalesce (var_map
!= get_alias_set (TREE_TYPE (TREE_TYPE (root2))))
{
if (debug)
- fprintf (debug, " : 2 different alasing sets. No coalesce.\n");
+ fprintf (debug, " : 2 different aliasing sets. No coalesce.\n");
return;
}
Index: tree-vect-analyze.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-vect-analyze.c,v
retrieving revision 2.24
diff -u -d -p -r2.24 tree-vect-analyze.c
--- tree-vect-analyze.c 26 May 2005 18:14:48 -0000 2.24
+++ tree-vect-analyze.c 29 May 2005 03:58:51 -0000
@@ -2466,7 +2466,7 @@ vect_analyze_loop_form (struct loop *loo
if (!empty_block_p (loop->latch))
{
if (vect_print_dump_info (REPORT_BAD_FORM_LOOPS, loop_loc))
- fprintf (vect_dump, "not vectorized: unexpectd loop form.");
+ fprintf (vect_dump, "not vectorized: unexpected loop form.");
return NULL;
}