]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* c-decl.c: Fix comment formatting.
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Aug 2003 06:45:14 +0000 (06:45 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Aug 2003 06:45:14 +0000 (06:45 +0000)
* cfgrtl.c: Likewise.
* combine.c: Likewise.
* convert.c: Likewise.
* dominance.c: Likewise.
* dwarf2out.c: Likewise.
* dwarfout.c: Likewise.
* expmed.c: Likewise.
* fold-const.c: Likewise.
* gcov.c: Likewise.
* genattrtab.c: Likewise.
* ggc-common.c: Likewise.
* mips-tfile.c: Likewise.
* regmove.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70677 138bc75d-0d04-0410-961f-82ee72b054a4

15 files changed:
gcc/ChangeLog
gcc/c-decl.c
gcc/cfgrtl.c
gcc/combine.c
gcc/convert.c
gcc/dominance.c
gcc/dwarf2out.c
gcc/dwarfout.c
gcc/expmed.c
gcc/fold-const.c
gcc/gcov.c
gcc/genattrtab.c
gcc/ggc-common.c
gcc/mips-tfile.c
gcc/regmove.c

index e7c933549568f3c032e66e6e43d6823a1275acda..4d1d2ebe8d4568b2cb5018c4100020023f5bca5b 100644 (file)
@@ -1,3 +1,20 @@
+2003-08-22  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * c-decl.c: Fix comment formatting.
+       * cfgrtl.c: Likewise.
+       * combine.c: Likewise.
+       * convert.c: Likewise.
+       * dominance.c: Likewise.
+       * dwarf2out.c: Likewise.
+       * dwarfout.c: Likewise.
+       * expmed.c: Likewise.
+       * fold-const.c: Likewise.
+       * gcov.c: Likewise.
+       * genattrtab.c: Likewise.
+       * ggc-common.c: Likewise.
+       * mips-tfile.c: Likewise.
+       * regmove.c: Likewise.
+
 2003-08-22  Kazu Hirata  <kazu@cs.umass.edu>
 
        * builtin-attrs.def: Fix comment formatting.
index d7b077631c70b87b00ebbd35bd122d823d19e140..de4b4433ba97f6e1dd58e4b015de0636b42fb845 100644 (file)
@@ -572,7 +572,7 @@ poplevel (int keep, int dummy ATTRIBUTE_UNUSED, int functionbody)
          goto normal;
 
        case VAR_DECL:
-         /* keep this in sync with stmt.c:warn_about_unused_variables.
+         /* Keep this in sync with stmt.c:warn_about_unused_variables.
             No warnings when the global scope is popped because the
             global scope isn't popped for the last translation unit,
             so the warnings are done in c_write_global_declaration.  */
index 45ca18987ca8fcfef80392a090275359742d23eb..7441cd9db59d28deb40c094562e4a4864ba11397 100644 (file)
@@ -2552,7 +2552,7 @@ cfg_layout_delete_block (basic_block bb)
     }
 }
 
-/* return true when blocks A and B can be safely merged.  */
+/* Return true when blocks A and B can be safely merged.  */
 static bool
 cfg_layout_can_merge_blocks_p (basic_block a, basic_block b)
 {
index 7e83706e10a58632740f4a5f6779f4f902f98edb..b9413f69835af66729ea5a544f789b687a195b38 100644 (file)
@@ -9686,7 +9686,7 @@ simplify_shift_const (rtx x, enum rtx_code code,
          break;
 
        case EQ:
-         /* convert (lshiftrt (eq FOO 0) C) to (xor FOO 1) if STORE_FLAG_VALUE
+         /* Convert (lshiftrt (eq FOO 0) C) to (xor FOO 1) if STORE_FLAG_VALUE
             says that the sign bit can be tested, FOO has mode MODE, C is
             GET_MODE_BITSIZE (MODE) - 1, and FOO has only its low-order bit
             that may be nonzero.  */
index 0d3a46c05d4bb86068856d41fb183d34146058d6..fe3f3ec2497affa216b8d1dc0ee2f6be4aa732c1 100644 (file)
@@ -203,7 +203,7 @@ convert_to_real (tree type, tree expr)
   if (itype != type && FLOAT_TYPE_P (type))
     switch (TREE_CODE (expr))
       {
-       /* convert (float)-x into -(float)x.  This is always safe.  */
+       /* Convert (float)-x into -(float)x.  This is always safe.  */
        case ABS_EXPR:
        case NEGATE_EXPR:
          if (TYPE_PRECISION (type) < TYPE_PRECISION (TREE_TYPE (expr)))
@@ -211,7 +211,7 @@ convert_to_real (tree type, tree expr)
                           fold (convert_to_real (type,
                                                  TREE_OPERAND (expr, 0))));
          break;
-       /* convert (outertype)((innertype0)a+(innertype1)b)
+       /* Convert (outertype)((innertype0)a+(innertype1)b)
           into ((newtype)a+(newtype)b) where newtype
           is the widest mode from all of these.  */
        case PLUS_EXPR:
index 944aaf81127e3aab9459ad696aef48a7b2b0af14..38182ef5318fbb75f2bb809ff705e0f9fb72f45d 100644 (file)
@@ -545,7 +545,7 @@ calculate_dominance_info (enum cdi_direction reverse)
   dominance_info info;
   basic_block b;
 
-  /* allocate structure for dominance information.  */
+  /* Allocate structure for dominance information.  */
   info = xmalloc (sizeof (struct dominance_info));
   info->forest = et_forest_create ();
   VARRAY_GENERIC_PTR_INIT (info->varray, last_basic_block + 3, "dominance info");
index 81cb7ecf5c99c2a44287334a0cefc66baaa606e4..eac43ac77d314f47da7f2d78862f8fea5d686ba3 100644 (file)
@@ -9686,7 +9686,7 @@ add_subscript_info (dw_die_ref type_die, tree type)
          lower = TYPE_MIN_VALUE (domain);
          upper = TYPE_MAX_VALUE (domain);
 
-         /* define the index type.  */
+         /* Define the index type.  */
          if (TREE_TYPE (domain))
            {
              /* ??? This is probably an Ada unnamed subrange type.  Ignore the
@@ -10784,7 +10784,7 @@ gen_subprogram_die (tree decl, dw_die_ref context_die)
       fn_arg_types = TYPE_ARG_TYPES (TREE_TYPE (decl));
       if (fn_arg_types != NULL)
        {
-         /* this is the prototyped case, check for ...  */
+         /* This is the prototyped case, check for....  */
          if (TREE_VALUE (tree_last (fn_arg_types)) != void_type_node)
            gen_unspecified_parameters_die (decl, subr_die);
        }
index 43ab37b971fa5e275aa2cc0d90d99ecb706c4d95..166addb9308ecd9f5c82ac636a28b2316dd13faf 100644 (file)
@@ -4066,7 +4066,7 @@ output_string_type_die (void *arg)
   sibling_attribute ();
   equate_type_number_to_die_number (type);
   member_attribute (TYPE_CONTEXT (type));
-  /* this is a fixed length string */
+  /* This is a fixed length string.  */
   byte_size_attribute (type);
 }
 
@@ -5226,13 +5226,13 @@ output_decl (tree decl, tree containing_scope)
 
            if (fn_arg_types)
              {
-             /* this is the prototyped case, check for ...  */
+             /* This is the prototyped case, check for....  */
              if (TREE_VALUE (tree_last (fn_arg_types)) != void_type_node)
                output_die (output_unspecified_parameters_die, decl);
              }
            else
              {
-               /* this is unprototyped, check for undefined (just declaration) */
+               /* This is unprototyped, check for undefined (just declaration).  */
                if (!DECL_INITIAL (decl))
                  output_die (output_unspecified_parameters_die, decl);
              }
index 89ecd0c198255e2bcff851e9a0085686593670fc..8ccd23804f66813821160b38884aab4c163f42a2 100644 (file)
@@ -2628,7 +2628,7 @@ choose_multiplier (unsigned HOST_WIDE_INT d, int n, int precision,
     abort ();
   if (mhigh_hi > 1 || mlow_hi > 1)
     abort ();
-  /* assert that mlow < mhigh.  */
+  /* Assert that mlow < mhigh.  */
   if (! (mlow_hi < mhigh_hi || (mlow_hi == mhigh_hi && mlow_lo < mhigh_lo)))
     abort ();
 
index 3869c0612a374c2b00b1cee6ef455068438ee696..27a4724cabe240f95122ae8614cb3987e814ca42 100644 (file)
@@ -558,7 +558,7 @@ div_and_round_double (enum tree_code code, int uns,
   if (hden == 0 && lden == 0)
     overflow = 1, lden = 1;
 
-  /* calculate quotient sign and convert operands to unsigned.  */
+  /* Calculate quotient sign and convert operands to unsigned.  */
   if (!uns)
     {
       if (hnum < 0)
index ff63274929125cec803d618847411fd49d83e04d..4c9af4d68d7005251b61f417420d61aaadcb0098 100644 (file)
@@ -1487,7 +1487,7 @@ static void
 add_line_counts (coverage_t *coverage, function_t *fn)
 {
   unsigned ix;
-  line_t *line = NULL; /* this is propagated from one iteration to the
+  line_t *line = NULL; /* This is propagated from one iteration to the
                          next.  */
 
   /* Scan each basic block.  */
index d34fde26213dc3e8a25a0ae31559edff8e84e631..7024c01793b8c0603b102e9bc64de684ccc2598c 100644 (file)
@@ -183,8 +183,8 @@ struct attr_desc
   unsigned unsigned_p  : 1;    /* Make the output function unsigned int.  */
   unsigned is_const    : 1;    /* Attribute value constant for each run.  */
   unsigned is_special  : 1;    /* Don't call `write_attr_set'.  */
-  unsigned func_units_p        : 1;    /* this is the function_units attribute */
-  unsigned blockage_p  : 1;    /* this is the blockage range function */
+  unsigned func_units_p        : 1;    /* This is the function_units attribute.  */
+  unsigned blockage_p  : 1;    /* This is the blockage range function.  */
   unsigned static_p    : 1;    /* Make the output function static.  */
 };
 
index 6441710e689c359d9c57e2cab6131ace767fa85f..a125b327f75baaec70056bf48cd9b70c2b01693e 100644 (file)
@@ -739,7 +739,7 @@ ggc_min_heapsize_heuristic (void)
   /* Adjust for rlimits.  */
   min_heap_kbytes = ggc_rlimit_bound (min_heap_kbytes);
 
-  min_heap_kbytes /= 1024; /* convert to Kbytes.  */
+  min_heap_kbytes /= 1024; /* Convert to Kbytes.  */
 
   /* The heuristic is RAM/8, with a lower bound of 4M and an upper
      bound of 128M (when RAM >= 1GB).  */
index 5c8b8f8738b58850136956597db7d5ec300a846a..314ed53fab7c859fa406f8e9495ebc59707e8d6c 100644 (file)
@@ -3280,7 +3280,7 @@ parse_def (const char *name_start)
                                        value,
                                        indx);
 
-      /* deal with struct, union, and enum tags.  */
+      /* Deal with struct, union, and enum tags.  */
       if (symbol_type == st_Block)
         {
          /* Create or update the tag information.  */
index 550694a02019ebc08205eab4ed08ab13862d45d4..9205e1f88bdeb9e95eb33b2bffa35b1b1eeef8db 100644 (file)
@@ -2032,7 +2032,7 @@ fixup_match_1 (rtx insn, rtx set, rtx src, rtx src_subreg, rtx dst,
 }
 
 
-/* return nonzero if X is stable and mentions no registers but for
+/* Return nonzero if X is stable and mentions no registers but for
    mentioning SRC or mentioning / changing DST .  If in doubt, presume
    it is unstable.
    The rationale is that we want to check if we can move an insn easily