c-typeck.c, [...]: Fix typos and follow spelling conventions in various warning/error/diagnostic...

* 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.

From-SVN: r125089
This commit is contained in:
Kazu Hirata 2007-05-26 12:17:52 +00:00 committed by Kazu Hirata
parent 0ee8e25059
commit 4dad0aca14
12 changed files with 28 additions and 20 deletions

View file

@ -1,3 +1,11 @@
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.
2007-05-25 Andrew Pinski <andrew_pinski@playstation.sony.com>
PR tree-opt/32090

View file

@ -2662,11 +2662,11 @@ parser_build_binary_op (enum tree_code code, struct c_expr arg1,
{
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)

View file

@ -11778,7 +11778,7 @@ arm_print_operand (FILE *stream, rtx x, int code)
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))

View file

@ -1415,14 +1415,14 @@ darwin_handle_kext_attribute (tree *node, tree name,
/* 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;

View file

@ -381,7 +381,7 @@ symbian_add_attribute (tree node, const char *attr_name)
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

View file

@ -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;

View file

@ -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))

View file

@ -718,7 +718,7 @@ cgraph_decide_recursive_inlining (struct cgraph_node *node)
{
if (dump_file)
fprintf (dump_file,
" maxmal depth reached\n");
" maximal depth reached\n");
continue;
}

View file

@ -1026,7 +1026,7 @@ iv_analyze_def (struct df_ref *def, struct rtx_iv *iv)
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 rtx_iv *iv)
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);

View file

@ -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, bool expensive)
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_result desired_res)
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_pb pb)
{
if (!result)
fprintf (dump_file,
"******************** Redudant Red Equations eliminated!!\n");
"******************** Redundant Red Equations eliminated!!\n");
else
fprintf (dump_file,
"******************** Red Equations remain\n");

View file

@ -1247,7 +1247,7 @@ number_of_iterations_cond (struct loop *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);

View file

@ -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")