]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
c-common.h: Fix comment formatting.
authorKazu Hirata <kazu@cs.umass.edu>
Fri, 16 Jan 2004 01:44:06 +0000 (01:44 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Fri, 16 Jan 2004 01:44:06 +0000 (01:44 +0000)
* c-common.h: Fix comment formatting.
* c-cppbuiltin.c: Likewise.
* c-pragma.c: Likewise.
* calls.c: Likewise.
* collect2.c: Likewise.
* cppcharset.c: Likewise.
* cpptrad.c: Likewise.
* dbxout.c: Likewise.
* defaults.h: Likewise.
* dwarf2out.c: Likewise.
* fold-const.c: Likewise.
* genautomata.c: Likewise.
* genconditions.c: Likewise.
* genflags.c: Likewise.
* gengtype.c: Likewise.
* integrate.c: Likewise.
* loop.c: Likewise.
* predict.c: Likewise.
* sdbout.c: Likewise.

From-SVN: r75957

20 files changed:
gcc/ChangeLog
gcc/c-common.h
gcc/c-cppbuiltin.c
gcc/c-pragma.c
gcc/calls.c
gcc/collect2.c
gcc/cppcharset.c
gcc/cpptrad.c
gcc/dbxout.c
gcc/defaults.h
gcc/dwarf2out.c
gcc/fold-const.c
gcc/genautomata.c
gcc/genconditions.c
gcc/genflags.c
gcc/gengtype.c
gcc/integrate.c
gcc/loop.c
gcc/predict.c
gcc/sdbout.c

index 4a2e9aaea12480437774f08137cfe13d4a81ff62..2384ba92d0bd264587298d44d3803b8f930c9f4d 100644 (file)
@@ -1,3 +1,25 @@
+2004-01-15  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * c-common.h: Fix comment formatting.
+       * c-cppbuiltin.c: Likewise.
+       * c-pragma.c: Likewise.
+       * calls.c: Likewise.
+       * collect2.c: Likewise.
+       * cppcharset.c: Likewise.
+       * cpptrad.c: Likewise.
+       * dbxout.c: Likewise.
+       * defaults.h: Likewise.
+       * dwarf2out.c: Likewise.
+       * fold-const.c: Likewise.
+       * genautomata.c: Likewise.
+       * genconditions.c: Likewise.
+       * genflags.c: Likewise.
+       * gengtype.c: Likewise.
+       * integrate.c: Likewise.
+       * loop.c: Likewise.
+       * predict.c: Likewise.
+       * sdbout.c: Likewise.
+
 2004-01-15  Zack Weinberg  <zack@codesourcery.com>
 
        * config/ia64/ia64.md (*movti_internal): C output template
index b87209e6ae019afb1a5c288fa3e8510348e71e21..2b33373126d8e41ba4ea2d9788fe8704a502f2df 100644 (file)
@@ -222,7 +222,8 @@ struct c_common_identifier GTY(())
 
 extern GTY(()) tree c_global_trees[CTI_MAX];
 
-/* In a RECORD_TYPE, a sorted array of the fields of the type, not a tree for size reasons.  */
+/* In a RECORD_TYPE, a sorted array of the fields of the type, not a
+   tree for size reasons.  */
 struct sorted_fields_type GTY(())
 {
   int len;
index 739a34224b1e0d389d4171927e3e2474431bc01b..e02960e8532d7fada480349ca7bfbeb36f8eaed9 100644 (file)
@@ -308,7 +308,7 @@ c_cpp_builtins (cpp_reader *pfile)
   if (flag_exceptions)
     cpp_define (pfile, "__EXCEPTIONS");
 
-  /* represents the C++ ABI version, always defined so it can be used while
+  /* Represents the C++ ABI version, always defined so it can be used while
      preprocessing C and assembler.  */
   if (flag_abi_version == 0)
     /* Use a very large value so that:
@@ -324,7 +324,7 @@ c_cpp_builtins (cpp_reader *pfile)
        "102".  */
     builtin_define_with_int_value ("__GXX_ABI_VERSION", 102);
   else
-    /* Newer versions have values 1002, 1003, ... */
+    /* Newer versions have values 1002, 1003, ... */
     builtin_define_with_int_value ("__GXX_ABI_VERSION", 
                                   1000 + flag_abi_version);
 
index e233a5e35fd8a7e2fa2f7176a478be92b82a611c..00560459a4788a6b79d24b877230a8522d71308b 100644 (file)
@@ -273,7 +273,7 @@ apply_pragma_weak (tree decl, tree value)
     }
 
   if (SUPPORTS_WEAK && DECL_EXTERNAL (decl) && TREE_USED (decl)
-      && !DECL_WEAK (decl) /* don't complain about a redundant #pragma */
+      && !DECL_WEAK (decl) /* Don't complain about a redundant #pragma.  */
       && TREE_SYMBOL_REFERENCED (DECL_ASSEMBLER_NAME (decl)))
     warning ("%Japplying #pragma weak '%D' after first use results "
              "in unspecified behavior", decl, decl);
index f0a59bbf61797408d08641cae128a8997ca085db..c16bdf10b952768de488b9b1ff6ee713c1985662 100644 (file)
@@ -4691,7 +4691,7 @@ store_one_arg (struct arg_data *arg, rtx argblock, int flags,
              if (XEXP (x, 0) != current_function_internal_arg_pointer)
                i = INTVAL (XEXP (XEXP (x, 0), 1));
 
-             /* expand_call should ensure this */
+             /* expand_call should ensure this */
              if (arg->locate.offset.var || GET_CODE (size_rtx) != CONST_INT)
                abort ();
 
index a249e4c70b2cab27ee4cb248d4f77824b94c4364..11858687ee41f287dacd28e6819bb376c088900e 100644 (file)
@@ -2402,7 +2402,7 @@ scan_libraries (const char *prog_name)
   if (debug)
     fprintf (stderr, "\n");
 
-  /* now iterate through the library list adding their symbols to
+  /* Now iterate through the library list adding their symbols to
      the list.  */
   for (list = libraries.first; list; list = list->next)
     scan_prog_file (list->name, PASS_LIB);
@@ -2538,7 +2538,7 @@ scan_libraries (const char *prog_name)
   signal (SIGQUIT, quit_handler);
 #endif
 
-  /* now iterate through the library list adding their symbols to
+  /* Now iterate through the library list adding their symbols to
      the list.  */
   for (list = libraries.first; list; list = list->next)
     scan_prog_file (list->name, PASS_LIB);
@@ -2705,7 +2705,7 @@ scan_prog_file (const char *prog_name, enum pass which_pass)
                      char *name;
 
                      if ((name = ldgetname (ldptr, &symbol)) == NULL)
-                       continue;               /* should never happen */
+                       continue;               /* Should never happen.  */
 
 #ifdef XCOFF_DEBUGGING_INFO
                      /* All AIX function names have a duplicate entry
index 6b69fed639e304aca3ac88beff504dd86fda19ed..1b2d0b2a091ec7ecbfb5f2ec22db018e48fb4ad4 100644 (file)
@@ -887,7 +887,7 @@ convert_ucn (cpp_reader *pfile, const uchar *from, const uchar *limit,
   struct cset_converter cvt
     = wide ? pfile->wide_cset_desc : pfile->narrow_cset_desc;
 
-  from++;  /* skip u/U */
+  from++;  /* Skip u/U.  */
   ucn = _cpp_valid_ucn (pfile, &from, limit, 0);
 
   rval = one_cppchar_to_utf8 (ucn, &bufp, &bytesleft);
@@ -966,7 +966,7 @@ convert_hex (cpp_reader *pfile, const uchar *from, const uchar *limit,
     cpp_error (pfile, CPP_DL_WARNING,
               "the meaning of '\\x' is different in traditional C");
 
-  from++;  /* skip 'x' */
+  from++;  /* Skip 'x'.  */
   while (from < limit)
     {
       c = *from;
@@ -1148,8 +1148,8 @@ cpp_interpret_string (cpp_reader *pfile, const cpp_string *from, size_t count,
     {
       p = from[i].text;
       if (*p == 'L') p++;
-      p++; /* skip leading quote */
-      limit = from[i].text + from[i].len - 1; /* skip trailing quote */
+      p++; /* Skip leading quote.  */
+      limit = from[i].text + from[i].len - 1; /* Skip trailing quote.  */
 
       for (;;)
        {
index 08636edb7a591fac53eba7b0c415c6f3aafc777a..3d23cab1fe49ae5c2e81057d78d2b64eaefc7691 100644 (file)
@@ -361,7 +361,7 @@ _cpp_scan_out_logical_line (cpp_reader *pfile, cpp_macro *macro)
   pfile->out.cur = pfile->out.base;
   pfile->out.first_line = pfile->line;
   /* start_of_input_line is needed to make sure that directives really,
-     really start at the first character of the line. */
+     really start at the first character of the line.  */
   start_of_input_line = pfile->buffer->cur;
  new_context:
   context = pfile->context;
index 2c6ff7b56e21f2d243f3e128e31864d4092fbc28..46fc026482adbac64870981055e87210f5c50c65 100644 (file)
@@ -2349,7 +2349,7 @@ dbxout_symbol (tree decl, int local ATTRIBUTE_UNUSED)
                }
              else if (TREE_CODE (TREE_TYPE (decl)) == REAL_TYPE)
                {
-                 /* don't know how to do this yet.  */
+                 /* Don't know how to do this yet.  */
                }
              break;
            }
index 68ab0ab20b2e427bd2127e93e6b789365fd4ecc2..23539485f51a354fef63530de727e8d98e2d66f1 100644 (file)
@@ -86,7 +86,7 @@ do { fputs (integer_asm_op (POINTER_SIZE / UNITS_PER_WORD, TRUE), FILE); \
    } while (0)
 #endif
 
-/* choose a reasonable default for ASM_OUTPUT_ASCII.  */
+/* Choose a reasonable default for ASM_OUTPUT_ASCII.  */
 
 #ifndef ASM_OUTPUT_ASCII
 #define ASM_OUTPUT_ASCII(MYFILE, MYSTRING, MYLENGTH) \
index f1f977113d5587c07f191f68bf2cb800293e2a99..1ee8f9fcde19f062670896851ca5d47c6d78f8e5 100644 (file)
@@ -11916,7 +11916,7 @@ gen_namespace_die (tree decl)
   dw_die_ref context_die = setup_namespace_context (decl, comp_unit_die);
 
   /* Namespace aliases have a DECL_ABSTRACT_ORIGIN of the namespace
-     they are an alias of. */
+     they are an alias of.  */
   if (DECL_ABSTRACT_ORIGIN (decl) == NULL)
     {
       /* Output a real namespace.  */
index fb9f037a6963c3a0e2f261e538b103155b893aaf..b226215e9b0f3ab871f5531881388cde77e6f62e 100644 (file)
@@ -798,7 +798,7 @@ div_and_round_double (enum tree_code code, int uns,
       abort ();
     }
 
-  /* compute true remainder:  rem = num - (quo * den)  */
+  /* Compute true remainder:  rem = num - (quo * den)  */
   mul_double (*lquo, *hquo, lden_orig, hden_orig, lrem, hrem);
   neg_double (*lrem, *hrem, lrem, hrem);
   add_double (lnum_orig, hnum_orig, *lrem, *hrem, lrem, hrem);
index 54d677e3290779fdf2e3bd6a0791664f1746e53a..179564ad052a3753c55cca2b7eada810f94debfd 100644 (file)
@@ -8666,7 +8666,7 @@ output_internal_insn_latency_func (void)
       {
        decl = description->decls[i];
        if (DECL_INSN_RESERV (decl)->default_latency > UCHAR_MAX
-           && tabletype[0] != 'i')  /* don't shrink it */
+           && tabletype[0] != 'i')  /* Don't shrink it.  */
          tabletype = "unsigned short";
        if (DECL_INSN_RESERV (decl)->default_latency > USHRT_MAX)
          tabletype = "int";
index 32ac5aef475f04c944058d19d07c13fb9a8dc470..86e3544a7bfea6002ee3445473bf92de993e1f90 100644 (file)
@@ -35,7 +35,7 @@
 #include "hashtab.h"
 #include "gensupport.h"
 
-/* so we can include except.h in the generated file */
+/* so we can include except.h in the generated file */
 static int saw_eh_return;
 
 static htab_t condition_table;
index 268da76ee671b4cf0b9d3f2ed11fcc4c096d2b00..66e6bd1df01b5781481745ce486514a6815eef5a 100644 (file)
@@ -209,7 +209,7 @@ gen_insn (rtx insn)
     max_id_len = len;
 
   if (truth == 0)
-    /* emit nothing */;
+    /* Emit nothing.  */;
   else if (truth == 1)
     printf ("#define HAVE_%s 1\n", name);
   else
index 784d551fb8acfe4d633a1d56635644c7920abf1e..6655d3cc37dc5079518bd0cde9e8994f58333c3d 100644 (file)
@@ -1947,7 +1947,7 @@ write_func_for_structure  (type_p orig_s, type_p s, type_p *param,
   d.bitmap = s->u.s.bitmap;
   d.param = param;
   d.prev_val[0] = "*x";
-  d.prev_val[1] = "not valid postage";  /* guarantee an error */
+  d.prev_val[1] = "not valid postage";  /* Guarantee an error.  */
   d.prev_val[3] = "x";
   d.val = "(*x)";
 
@@ -2200,7 +2200,7 @@ write_local_func_for_structure (type_p orig_s, type_p s, type_p *param)
   d.bitmap = s->u.s.bitmap;
   d.param = param;
   d.prev_val[0] = d.prev_val[2] = "*x";
-  d.prev_val[1] = "not valid postage";  /* guarantee an error */
+  d.prev_val[1] = "not valid postage";  /* Guarantee an error.  */
   d.prev_val[3] = "x";
   d.val = "(*x)";
 
index 47327de03b9ec246f5009623e454e06da3be6d7f..b5efc02b1a68dc8c1beb7d877a1fbac4d78109a8 100644 (file)
@@ -1421,7 +1421,7 @@ copy_insn_list (rtx insns, struct inline_remap *map, rtx static_chain_value)
                  gen_rtx_MEM (GET_MODE (static_chain_incoming_rtx),
                               SET_DEST (set));
 
-             /* emit the instruction in case it is used for something
+             /* Emit the instruction in case it is used for something
                 other than setting the static chain; if it's not used,
                 it can always be removed as dead code */
              copy = emit_insn (copy_rtx_and_substitute (pattern, map, 0));
index 96f49998e6959c23cde92dbcf02afa2c64461b2e..0892724b4afdeecc8444609bd80ee64345c9b821 100644 (file)
@@ -8105,7 +8105,7 @@ check_dbra_loop (struct loop *loop, int insn_count)
          && (INTVAL (bl->initial_value)
              % (-INTVAL (bl->biv->add_val))) == 0)
        {
-         /* register always nonnegative, add REG_NOTE to branch */
+         /* Register always nonnegative, add REG_NOTE to branch.  */
          if (! find_reg_note (jump, REG_NONNEG, NULL_RTX))
            REG_NOTES (jump)
              = gen_rtx_EXPR_LIST (REG_NONNEG, bl->biv->dest_reg,
index 5f7daea03d38bfe7d9ee3489ece77a0dd9d0ec03..f2b4068df1acbe574506d1c8199b9a4f0c68253e 100644 (file)
@@ -468,7 +468,7 @@ estimate_probability (struct loops *loops_info)
                   / exits);
        }
       
-      /* Free basic blocks from get_loop_body. */
+      /* Free basic blocks from get_loop_body.  */
       free (bbs);
     }
 
index 9175417a7582c96011d5e3ce4054a2defa47ed2c..b6380ebb821c1deec27090ef6bb97bbfce8e8f60 100644 (file)
@@ -1159,7 +1159,7 @@ sdbout_one_type (tree type)
              }
          }
 
-       /* output the individual fields */
+       /* Output the individual fields.  */
 
        if (TREE_CODE (type) == ENUMERAL_TYPE)
          {
@@ -1206,7 +1206,7 @@ sdbout_one_type (tree type)
                  }
                PUT_SDB_ENDEF;
              }
-       /* output end of a structure,union, or enumeral definition */
+       /* Output end of a structure,union, or enumeral definition.  */
 
        PUT_SDB_PLAIN_DEF ("eos");
        PUT_SDB_INT_VAL (size);