diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-05-26 12:17:52 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-05-26 12:17:52 +0000 |
commit | 666137bc66ce56e73fcdd9d4764519d010f47f4a (patch) | |
tree | 903b6ffc6c810b13e3b3edeb9e468186e2ee4223 /gcc | |
parent | 151af9883b7f98ddd24f3ccab6923f88960dd889 (diff) | |
download | gcc-666137bc66ce56e73fcdd9d4764519d010f47f4a.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125089 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/c-typeck.c | 4 | ||||
-rw-r--r-- | gcc/config/arm/arm.c | 2 | ||||
-rw-r--r-- | gcc/config/darwin.c | 4 | ||||
-rw-r--r-- | gcc/config/sh/symbian.c | 2 | ||||
-rw-r--r-- | gcc/gcc.c | 2 | ||||
-rw-r--r-- | gcc/ipa-cp.c | 2 | ||||
-rw-r--r-- | gcc/ipa-inline.c | 2 | ||||
-rw-r--r-- | gcc/loop-iv.c | 4 | ||||
-rw-r--r-- | gcc/omega.c | 14 | ||||
-rw-r--r-- | gcc/tree-ssa-loop-niter.c | 2 | ||||
-rw-r--r-- | gcc/treestruct.def | 2 |
12 files changed, 28 insertions, 20 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c85ce3325d2..386358495c2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c index 2bf767776ba..dccf9229965 100644 --- a/gcc/c-typeck.c +++ b/gcc/c-typeck.c @@ -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) diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index dd7555197d7..cf7c62caaa8 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -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)) diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c index 73836ae08b0..17a8d5995a7 100644 --- a/gcc/config/darwin.c +++ b/gcc/config/darwin.c @@ -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; diff --git a/gcc/config/sh/symbian.c b/gcc/config/sh/symbian.c index 4836d9b4e64..98120265207 100644 --- a/gcc/config/sh/symbian.c +++ b/gcc/config/sh/symbian.c @@ -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 diff --git a/gcc/gcc.c b/gcc/gcc.c index 5ed41bd66ff..14e3e7a6187 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -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; diff --git a/gcc/ipa-cp.c b/gcc/ipa-cp.c index 32f8b6d6dcd..ee989c14ee7 100644 --- a/gcc/ipa-cp.c +++ b/gcc/ipa-cp.c @@ -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)) diff --git a/gcc/ipa-inline.c b/gcc/ipa-inline.c index 076979ed5de..ee9d7e6ca00 100644 --- a/gcc/ipa-inline.c +++ b/gcc/ipa-inline.c @@ -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; } diff --git a/gcc/loop-iv.c b/gcc/loop-iv.c index 00c82943642..bdf1508d9ef 100644 --- a/gcc/loop-iv.c +++ b/gcc/loop-iv.c @@ -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); diff --git a/gcc/omega.c b/gcc/omega.c index 9f5abaf406b..7b693005b49 100644 --- a/gcc/omega.c +++ b/gcc/omega.c @@ -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"); diff --git a/gcc/tree-ssa-loop-niter.c b/gcc/tree-ssa-loop-niter.c index c3d3b778635..0462e4e166f 100644 --- a/gcc/tree-ssa-loop-niter.c +++ b/gcc/tree-ssa-loop-niter.c @@ -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); diff --git a/gcc/treestruct.def b/gcc/treestruct.def index 3510ffa3722..437e0ac867c 100644 --- a/gcc/treestruct.def +++ b/gcc/treestruct.def @@ -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") |