]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
c-typeck.c, [...]: Fix typos and follow spelling conventions in various warning/error...
authorKazu Hirata <kazu@codesourcery.com>
Sat, 26 May 2007 12:17:52 +0000 (12:17 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Sat, 26 May 2007 12:17:52 +0000 (12:17 +0000)
* 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

12 files changed:
gcc/ChangeLog
gcc/c-typeck.c
gcc/config/arm/arm.c
gcc/config/darwin.c
gcc/config/sh/symbian.c
gcc/gcc.c
gcc/ipa-cp.c
gcc/ipa-inline.c
gcc/loop-iv.c
gcc/omega.c
gcc/tree-ssa-loop-niter.c
gcc/treestruct.def

index c85ce3325d202abb57ffcff238ea0087fe7005d3..386358495c29022072d3725f9714e2782c102e1a 100644 (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
index 2bf767776ba9dede73f2c61cd3d22062797f58f5..dccf9229965d4277f5fcd4a371128ed4710110e6 100644 (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) 
index dd7555197d729c0762b5ff2ef68d71d9833948c9..cf7c62caaa8f48443bdc32a04134838da6ba04e3 100644 (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))
index 73836ae08b06e4e3ffb530d9c6d5a6ab293119b4..17a8d5995a7df1755e52658e8047779dd97e8ae0 100644 (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;
index 4836d9b4e64d0d0c4442da3da021cceddacb0822..981202652074394eebbd1b4e5654f334c9551a03 100644 (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
index 5ed41bd66ff0757b7981f64217171844314553b2..14e3e7a618758f6556c354d8735cf6a233dad761 100644 (file)
--- 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;
index 32f8b6d6dcd4d34064993366cbbabbc30c41a6b2..ee989c14ee7a63043669748d426b44873343aa6f 100644 (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))
index 076979ed5de2fb419fb7b6a2e7ebcd556607368a..ee9d7e6ca00404836c53adb1077c2a192c7e8aec 100644 (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;
        }
 
index 00c82943642e7238268d319d989a1349813bab38..bdf1508d9ef951a609cd4af6a89032c09249336c 100644 (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);
index 9f5abaf406b5df506d56dad4d363847a42542387..7b693005b4971867e0831b40c81e74d58b149b48 100644 (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");
index c3d3b7786354910398cc44f56535d775f390d858..0462e4e166f0ca17082a53ccab984aac65b94382 100644 (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);
index 3510ffa372231a9e2d6b060bf40a22d249497bd1..437e0ac867c85000792777146f05770c3ffea6c6 100644 (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")