[patch] gcc: Fix typos in various messages.
Kazu Hirata
kazu@codesourcery.com
Sat May 26 12:36:00 GMT 2007
Hi,
Tested on i686-pc-linux-gnu. Committed as obvious.
Kazu Hirata
2007-05-26 Kazu Hirata <kazu@codesourcery.com>
* c-typeck.c, config/arm/arm.c, config/darwin.c,
config/sh/symbian.c, gcc.c, ipa-cp.c, ipa-inline.c, loop-iv.c,
omega.c, tree-ssa-loop-niter.c, treestruct.def: Fix typos and
follow spelling conventions in various
warning/error/diagnostic messages.
Index: c-typeck.c
===================================================================
--- c-typeck.c (revision 125079)
+++ c-typeck.c (working copy)
@@ -2662,11 +2662,11 @@ parser_build_binary_op (enum tree_code c
{
if ((code1 == STRING_CST && !integer_zerop (arg2.value))
|| (code2 == STRING_CST && !integer_zerop (arg1.value)))
- warning (OPT_Waddress, "comparison with string literal results in unspecified behaviour");
+ warning (OPT_Waddress, "comparison with string literal results in unspecified behavior");
}
else if (TREE_CODE_CLASS (code) == tcc_comparison
&& (code1 == STRING_CST || code2 == STRING_CST))
- warning (OPT_Waddress, "comparison with string literal results in unspecified behaviour");
+ warning (OPT_Waddress, "comparison with string literal results in unspecified behavior");
if (TREE_OVERFLOW_P (result.value)
&& !TREE_OVERFLOW_P (arg1.value)
Index: config/arm/arm.c
===================================================================
--- config/arm/arm.c (revision 125079)
+++ config/arm/arm.c (working copy)
@@ -11778,7 +11778,7 @@ arm_print_operand (FILE *stream, rtx x,
want to do that. */
if (x == const_true_rtx)
{
- output_operand_lossage ("instruction never exectued");
+ output_operand_lossage ("instruction never executed");
return;
}
if (!COMPARISON_P (x))
Index: config/darwin.c
===================================================================
--- config/darwin.c (revision 125079)
+++ config/darwin.c (working copy)
@@ -1415,14 +1415,14 @@ darwin_handle_kext_attribute (tree *node
/* APPLE KEXT stuff -- only applies with pure static C++ code. */
if (! TARGET_KEXTABI)
{
- warning (0, "%<%s%> 2.95 vtable-compatability attribute applies "
+ warning (0, "%<%s%> 2.95 vtable-compatibility attribute applies "
"only when compiling a kext", IDENTIFIER_POINTER (name));
*no_add_attrs = true;
}
else if (TREE_CODE (*node) != RECORD_TYPE)
{
- warning (0, "%<%s%> 2.95 vtable-compatability attribute applies "
+ warning (0, "%<%s%> 2.95 vtable-compatibility attribute applies "
"only to C++ classes", IDENTIFIER_POINTER (name));
*no_add_attrs = true;
Index: config/sh/symbian.c
===================================================================
--- config/sh/symbian.c (revision 125079)
+++ config/sh/symbian.c (working copy)
@@ -381,7 +381,7 @@ symbian_add_attribute (tree node, const
TYPE_ATTRIBUTES (node) = tree_cons (attr, NULL_TREE, attrs);
#if SYMBIAN_DEBUG
- fprintf (stderr, "propogate %s attribute", attr_name);
+ fprintf (stderr, "propagate %s attribute", attr_name);
print_node_brief (stderr, " to", node, 0);
fprintf (stderr, "\n");
#endif
Index: gcc.c
===================================================================
--- gcc.c (revision 125079)
+++ gcc.c (working copy)
@@ -7963,7 +7963,7 @@ static const char *
print_asm_header_spec_function (int arg ATTRIBUTE_UNUSED,
const char **argv ATTRIBUTE_UNUSED)
{
- printf (_("Assember options\n================\n\n"));
+ printf (_("Assembler options\n=================\n\n"));
printf (_("Use \"-Wa,OPTION\" to pass \"OPTION\" to the assembler.\n\n"));
fflush (stdout);
return NULL;
Index: ipa-cp.c
===================================================================
--- ipa-cp.c (revision 125079)
+++ ipa-cp.c (working copy)
@@ -792,7 +792,7 @@ ipcp_profile_bb_print (FILE * f)
ENTRY_BLOCK_PTR_FOR_FUNCTION (DECL_STRUCT_FUNCTION (node->decl));
fprintf (f, "ENTRY: Count");
fprintf (f, " " HOST_WIDE_INT_PRINT_DEC
- " Frquency %d\n", (HOST_WIDE_INT) bb->count,
+ " Frequency %d\n", (HOST_WIDE_INT) bb->count,
bb->frequency);
FOR_EACH_BB_FN (bb, DECL_STRUCT_FUNCTION (node->decl))
Index: ipa-inline.c
===================================================================
--- ipa-inline.c (revision 125079)
+++ ipa-inline.c (working copy)
@@ -718,7 +718,7 @@ cgraph_decide_recursive_inlining (struct
{
if (dump_file)
fprintf (dump_file,
- " maxmal depth reached\n");
+ " maximal depth reached\n");
continue;
}
Index: loop-iv.c
===================================================================
--- loop-iv.c (revision 125079)
+++ loop-iv.c (working copy)
@@ -1026,7 +1026,7 @@ iv_analyze_def (struct df_ref *def, stru
if (dump_file)
{
- fprintf (dump_file, "Analysing def of ");
+ fprintf (dump_file, "Analyzing def of ");
print_rtl (dump_file, reg);
fprintf (dump_file, " in insn ");
print_rtl_single (dump_file, insn);
@@ -1080,7 +1080,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);
Index: omega.c
===================================================================
--- omega.c (revision 125079)
+++ omega.c (working copy)
@@ -1696,7 +1696,7 @@ normalize_omega_problem (omega_pb pb)
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file,
- "Removing Redudant Equation: ");
+ "Removing Redundant Equation: ");
omega_print_geq (dump_file, pb, &(pb->geqs[e2]));
fprintf (dump_file, "\n");
fprintf (dump_file,
@@ -1714,7 +1714,7 @@ normalize_omega_problem (omega_pb pb)
{
if (dump_file && (dump_flags & TDF_DETAILS))
{
- fprintf (dump_file, "Removing Redudant Equation: ");
+ fprintf (dump_file, "Removing Redundant Equation: ");
omega_print_geq (dump_file, pb, &(pb->geqs[e]));
fprintf (dump_file, "\n");
fprintf (dump_file, "[b] Made Redundant by: ");
@@ -1736,7 +1736,7 @@ normalize_omega_problem (omega_pb pb)
{
if (dump_file && (dump_flags & TDF_DETAILS))
{
- fprintf (dump_file, "Removing Redudant Equation: ");
+ fprintf (dump_file, "Removing Redundant Equation: ");
omega_print_geq (dump_file, pb, &(pb->geqs[e2]));
fprintf (dump_file, "\n");
fprintf (dump_file, "[c] Made Redundant by: ");
@@ -1750,7 +1750,7 @@ normalize_omega_problem (omega_pb pb)
{
if (dump_file && (dump_flags & TDF_DETAILS))
{
- fprintf (dump_file, "Removing Redudant Equation: ");
+ fprintf (dump_file, "Removing Redundant Equation: ");
omega_print_geq (dump_file, pb, &(pb->geqs[e]));
fprintf (dump_file, "\n");
fprintf (dump_file, "[d] Made Redundant by: ");
@@ -2094,7 +2094,7 @@ omega_eliminate_redundant (omega_pb pb,
if (dump_file && (dump_flags & TDF_DETAILS))
{
- fprintf (dump_file, "in eliminate Redudant:\n");
+ fprintf (dump_file, "in eliminate Redundant:\n");
omega_print_problem (dump_file, pb);
}
@@ -4663,7 +4663,7 @@ omega_solve_geq (omega_pb pb, enum omega
if (dump_file && (dump_flags & TDF_DETAILS))
{
- fprintf (dump_file, "lower bound coeeficients = ");
+ fprintf (dump_file, "lower bound coefficients = ");
for (j = 0; j < lower_bounds; j++)
fprintf (dump_file, " %d",
@@ -4950,7 +4950,7 @@ omega_problem_has_red_equations (omega_p
{
if (!result)
fprintf (dump_file,
- "******************** Redudant Red Equations eliminated!!\n");
+ "******************** Redundant Red Equations eliminated!!\n");
else
fprintf (dump_file,
"******************** Red Equations remain\n");
Index: tree-ssa-loop-niter.c
===================================================================
--- tree-ssa-loop-niter.c (revision 125079)
+++ tree-ssa-loop-niter.c (working copy)
@@ -1247,7 +1247,7 @@ number_of_iterations_cond (struct loop *
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file,
- "Analysing # of iterations of loop %d\n", loop->num);
+ "Analyzing # of iterations of loop %d\n", loop->num);
fprintf (dump_file, " exit condition ");
dump_affine_iv (dump_file, iv0);
Index: treestruct.def
===================================================================
--- treestruct.def (revision 125079)
+++ treestruct.def (working copy)
@@ -35,7 +35,7 @@ DEFTREESTRUCT(TS_REAL_CST, "real cst")
DEFTREESTRUCT(TS_VECTOR, "vector")
DEFTREESTRUCT(TS_STRING, "string")
DEFTREESTRUCT(TS_COMPLEX, "complex")
-DEFTREESTRUCT(TS_IDENTIFIER, "indentifier")
+DEFTREESTRUCT(TS_IDENTIFIER, "identifier")
DEFTREESTRUCT(TS_DECL_MINIMAL, "decl minimal")
DEFTREESTRUCT(TS_DECL_COMMON, "decl common")
DEFTREESTRUCT(TS_DECL_WRTL, "decl with RTL")
More information about the Gcc-patches
mailing list