]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
alias.c: Fix comment formatting.
authorKazu Hirata <kazu@cs.umass.edu>
Tue, 22 Jul 2003 23:15:30 +0000 (23:15 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Tue, 22 Jul 2003 23:15:30 +0000 (23:15 +0000)
* alias.c: Fix comment formatting.
* c-common.c: Likewise.
* c-decl.c: Likewise.
* c-opts.c: Likewise.
* combine.c: Likewise.
* cpplib.c: Likewise.
* diagnostic.c: Likewise.
* dojump.c: Likewise.
* final.c: Likewise.
* fold-const.c: Likewise.
* gcc.c: Likewise.
* gcse.c: Likewise.
* ggc-page.c: Likewise.
* jump.c: Likewise.
* loop.c: Likewise.
* mips-tfile.c: Likewise.
* recog.c: Likewise.
* regclass.c: Likewise.
* regmove.c: Likewise.
* tree.c: Likewise.
* tree.h: Likewise.

From-SVN: r69689

22 files changed:
gcc/ChangeLog
gcc/alias.c
gcc/c-common.c
gcc/c-decl.c
gcc/c-opts.c
gcc/combine.c
gcc/cpplib.c
gcc/diagnostic.c
gcc/dojump.c
gcc/final.c
gcc/fold-const.c
gcc/gcc.c
gcc/gcse.c
gcc/ggc-page.c
gcc/jump.c
gcc/loop.c
gcc/mips-tfile.c
gcc/recog.c
gcc/regclass.c
gcc/regmove.c
gcc/tree.c
gcc/tree.h

index 5e84184090aba255b907767f1730f5cd937019cc..15ca3e520b0497f53d2e1c7ff85ba7cf768353ba 100644 (file)
@@ -1,3 +1,27 @@
+2003-07-22  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * alias.c: Fix comment formatting.
+       * c-common.c: Likewise.
+       * c-decl.c: Likewise.
+       * c-opts.c: Likewise.
+       * combine.c: Likewise.
+       * cpplib.c: Likewise.
+       * diagnostic.c: Likewise.
+       * dojump.c: Likewise.
+       * final.c: Likewise.
+       * fold-const.c: Likewise.
+       * gcc.c: Likewise.
+       * gcse.c: Likewise.
+       * ggc-page.c: Likewise.
+       * jump.c: Likewise.
+       * loop.c: Likewise.
+       * mips-tfile.c: Likewise.
+       * recog.c: Likewise.
+       * regclass.c: Likewise.
+       * regmove.c: Likewise.
+       * tree.c: Likewise.
+       * tree.h: Likewise.
+
 2003-07-22  Per Bothner  <pbothner@apple.com>
 
        * line-map.c (add_line_map):  Handle invalid LEAVE request.
index edd8a3deb3f73eadc7080edc1b1e6ee522c9f876..32531365882b723cc9640055d6136695e427c431 100644 (file)
@@ -1326,7 +1326,7 @@ find_base_term (rtx x)
       x = XEXP (x, 0);
       if (GET_CODE (x) != PLUS && GET_CODE (x) != MINUS)
        return 0;
-      /* fall through */
+      /* Fall through.  */
     case LO_SUM:
     case PLUS:
     case MINUS:
index b5d6651ade456c2f99352214c5c0fd93d97e939e..b33856f5be1f352e39186ca82e972f033ab62623 100644 (file)
@@ -2649,7 +2649,7 @@ c_common_truthvalue_conversion (tree expr)
       if (TREE_CODE (TREE_TYPE (expr)) == REFERENCE_TYPE
          || TREE_CODE (TREE_TYPE (TREE_OPERAND (expr, 0))) == REFERENCE_TYPE)
        break;
-      /* fall through...  */
+      /* Fall through....  */
     case NOP_EXPR:
       /* If this is widening the argument, we can ignore it.  */
       if (TYPE_PRECISION (TREE_TYPE (expr))
@@ -2668,7 +2668,7 @@ c_common_truthvalue_conversion (tree expr)
         be false.  */
       if (HONOR_INFINITIES (TYPE_MODE (TREE_TYPE (TREE_OPERAND (expr, 0)))))
        break;
-      /* fall through...  */
+      /* Fall through....  */
     case BIT_XOR_EXPR:
       /* This and MINUS_EXPR can be changed into a comparison of the
         two objects.  */
index 6f5e631e936109f73f1b31718ca9dbe2096e18cb..cb032eaff55ae1f562f8c1cdf7db13a3ed6e07aa 100644 (file)
@@ -5164,11 +5164,11 @@ finish_struct (tree t, tree fieldlist, tree attributes)
           {
             field_array[len++] = x;
           
-            /* if there is anonymous struct or union break out of the loop */
+            /* If there is anonymous struct or union, break out of the loop.  */
             if (DECL_NAME (x) == NULL)
               break;
           }
-        /* found no anonymous struct/union add the TYPE_LANG_SPECIFIC. */
+        /* Found no anonymous struct/union.  Add the TYPE_LANG_SPECIFIC.  */
         if (x == NULL)
           {
             TYPE_LANG_SPECIFIC (t) = space;
index 34e1d060a4617c001a2aac0c25860c59d5664b60..a6dd9f0a5c84196c801f307ec9eff57f627f5e4e 100644 (file)
@@ -717,7 +717,7 @@ c_common_handle_option (size_t scode, const char *arg, int value)
 
     case OPT_ffreestanding:
       value = !value;
-      /* Fall through...  */
+      /* Fall through....  */
     case OPT_fhosted:
       flag_hosted = value;
       flag_no_builtin = !value;
@@ -966,7 +966,7 @@ c_common_handle_option (size_t scode, const char *arg, int value)
         is not overridden.  */
     case OPT_pedantic_errors:
       cpp_opts->pedantic_errors = 1;
-      /* fall through */
+      /* Fall through.  */
     case OPT_pedantic:
       cpp_opts->pedantic = 1;
       cpp_opts->warn_endif_labels = 1;
index 431a723cde7f2747ffe9d989fe6ca9545b074bc4..de7ace43a2b1ec87f4570463b9ff112a1b3a9ab0 100644 (file)
@@ -3057,7 +3057,7 @@ find_split_point (rtx *loc, rtx insn)
          break;
 
        case NE:
-         /* if STORE_FLAG_VALUE is -1, this is (NE X 0) and only one bit of X
+         /* If STORE_FLAG_VALUE is -1, this is (NE X 0) and only one bit of X
             is known to be on, this can be converted into a NEG of a shift.  */
          if (STORE_FLAG_VALUE == -1 && XEXP (SET_SRC (x), 1) == const0_rtx
              && GET_MODE (SET_SRC (x)) == GET_MODE (XEXP (SET_SRC (x), 0))
index b732c305aa3f6f497d2b246bdfd36612cb3178dc..94fb57aeaea38745e726c1285877ab0fba48c592 100644 (file)
@@ -556,7 +556,7 @@ undefine_macros (cpp_reader *pfile, cpp_hashnode *h,
       if (CPP_OPTION (pfile, warn_unused_macros))
         _cpp_warn_if_unused_macro (pfile, h, NULL);
 
-      /* and fall through...  */
+      /* And fall through....  */
     case NT_ASSERTION:
       _cpp_free_definition (h);
       break;
index be4b03cc7dd79bb5134f90141d129455deee9fcf..cae8046d8e9dfa0c09b7a4ba77cbcb06e56be86f 100644 (file)
@@ -833,7 +833,7 @@ diagnostic_count_diagnostic (diagnostic_context *context,
       if (context->internal_error)
        (*context->internal_error) (diagnostic->message.format_spec,
                                    diagnostic->message.args_ptr);
-      /* fall through */
+      /* Fall through.  */
 
     case DK_FATAL: case DK_SORRY:
     case DK_ANACHRONISM: case DK_NOTE:
@@ -857,7 +857,7 @@ diagnostic_count_diagnostic (diagnostic_context *context,
           context->warnings_are_errors_message = false;
         }
 
-      /* and fall through */
+      /* And fall through.  */
     case DK_ERROR:
       ++diagnostic_kind_count (context, DK_ERROR);
       break;
index 5d5e5a6b55a7cd561afcbdf8524ada83a831f4b1..c213cd0e967eb23c13537a90ea449211b9ecdc7d 100644 (file)
@@ -551,7 +551,7 @@ do_jump (tree exp, rtx if_false_label, rtx if_true_label)
             }
         }
     }
-      /* fall through and generate the normal code.  */
+      /* Fall through and generate the normal code.  */
 
     default:
     normal:
index 6f2b5fb55ebb0b10ceb6e7729f058dd2640fb764..a89520ba14140709cef0d3283308ff81250074db 100644 (file)
@@ -1570,7 +1570,7 @@ final (rtx first, FILE *file, int optimize, int prescan)
 
   for (insn = first; insn; insn = NEXT_INSN (insn))
     {
-      if (INSN_UID (insn) > max_uid)       /* find largest UID */
+      if (INSN_UID (insn) > max_uid)       /* Find largest UID.  */
        max_uid = INSN_UID (insn);
       if (GET_CODE (insn) == NOTE && NOTE_LINE_NUMBER (insn) > 0)
        line_note_exists[NOTE_LINE_NUMBER (insn)] = 1;
index 9fd4f001242b5b5dbcc7f0f3b264f357a635b52a..fd9cb3d5cfb59a1a32cbad14c5a697fcf3fa8232 100644 (file)
@@ -712,7 +712,7 @@ div_and_round_double (enum tree_code code, int uns,
   decode (quo, lquo, hquo);
 
  finish_up:
-  /* if result is negative, make it so.  */
+  /* If result is negative, make it so.  */
   if (quo_neg)
     neg_double (*lquo, *hquo, lquo, hquo);
 
@@ -2209,7 +2209,7 @@ eval_subst (tree arg, tree old0, tree new0, tree old1, tree new1)
        default:
          break;
        }
-      /* fall through - ??? */
+      /* Fall through - ???  */
 
     case '<':
       {
index a7a9cc9399613cb97b01f8c632a2734325319122..c04fbffc8dd6ffc0fea1e19c7cdd4cb11e31e13e 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -5172,7 +5172,7 @@ do_spec_1 (const char *spec, int inswitch, const char *soft_matched_part)
        /* Backslash: treat next character as ordinary.  */
        c = *p++;
 
-       /* fall through */
+       /* Fall through.  */
       default:
        /* Ordinary character: put it into the current argument.  */
        obstack_1grow (&obstack, c);
index 3b57aa1a85600043b13f0249a444851191fb5e8f..7be71d9da377068f209a37df5f0acd8c058bb88b 100644 (file)
@@ -2121,7 +2121,7 @@ gcse_constant_p (rtx x)
 
 
   /* Consider a COMPARE of the same registers is a constant
-    if they are not floating point registers. */
+    if they are not floating point registers.  */
   if (GET_CODE(x) == COMPARE
       && GET_CODE (XEXP (x, 0)) == REG
       && GET_CODE (XEXP (x, 1)) == REG
index 7b0697e9fa877822e0bcac81cfc85b109d32b3ff..62964d61182f9e9d76d807152878abc166d97bb2 100644 (file)
@@ -410,7 +410,7 @@ static struct globals
 
     /* Total allocations and overhead for sizes less than 32, 64 and 128.
        These sizes are interesting because they are typical cache line
-       sizes. */
+       sizes.  */
    
     unsigned long long total_allocated_under32;
     unsigned long long total_overhead_under32;
@@ -421,7 +421,7 @@ static struct globals
     unsigned long long total_allocated_under128;
     unsigned long long total_overhead_under128;
   
-    /* The overhead for each of the allocation orders. */
+    /* The overhead for each of the allocation orders.  */
     unsigned long long total_overhead_per_order[NUM_ORDERS];
   } stats;
 #endif
index dd9d8d41a2b4b8005d679ae12404b466d84be582..d2b53f8cf4b1ddc4db20de129b40eff9d875382c 100644 (file)
@@ -2345,7 +2345,7 @@ rtx_renumbered_equal_p (rtx x, rtx y)
        case 'u':
          if (XEXP (x, i) != XEXP (y, i))
            return 0;
-         /* fall through.  */
+         /* Fall through.  */
        case '0':
          break;
 
index 7485126550134d00a6f6460b8adc573eeb1b5fac..c4d2779a18c5129fe9082eec85d0ecb39bce5a8e 100644 (file)
@@ -2254,7 +2254,7 @@ move_movables (struct loop *loop, struct loop_movables *movables,
                         and prevent further processing of it.  */
                      m1->done = 1;
 
-                     /* if library call, delete all insns.  */
+                     /* If library call, delete all insns.  */
                      if ((temp = find_reg_note (m1->insn, REG_RETVAL,
                                                 NULL_RTX)))
                        delete_insn_chain (XEXP (temp, 0), m1->insn);
index 4a284611f78ee61efb934b619b1d0da45a938911..5c8b8f8738b58850136956597db7d5ec300a846a 100644 (file)
@@ -4743,7 +4743,7 @@ main (int argc, char **argv)
        else
          rename_output = 1;
 
-       /* fall through to 'i' case.  */
+       /* Fall through to 'i' case.  */
 
       case 'i':
        if (obj_in_name == (char *) 0)
index 508baeeed3a90eaac6c918c9910e25cc5b04155f..7e75f34da837774e0dd41a7ce83fa5e631b8a5c1 100644 (file)
@@ -333,7 +333,7 @@ apply_change_group (void)
     {
       rtx object = changes[i].object;
 
-      /* if there is no object to test or if it is the same as the one we
+      /* If there is no object to test or if it is the same as the one we
          already tested, ignore it.  */
       if (object == 0 || object == last_validated)
        continue;
index b48f2e657fb639d82ad01244294d4e7f97dc9d9d..ec636d777aa9f4e9c702e2616c05e3c935340c09 100644 (file)
@@ -340,7 +340,7 @@ init_reg_sets_1 (void)
              continue;
 
            subclass1:
-             /* keep the largest subclass */           /* SPEE 900308 */
+             /* Keep the largest subclass.  */         /* SPEE 900308 */
              GO_IF_HARD_REG_SUBSET (reg_class_contents[k],
                                     reg_class_contents[(int) reg_class_subunion[i][j]],
                                     subclass2);
@@ -2156,7 +2156,7 @@ allocate_reg_info (size_t num_regs, int new_p, int renumber_p)
     {
       size_t old_allocated = regno_allocated;
 
-      regno_allocated = num_regs + (num_regs / 20);    /* add some slop space */
+      regno_allocated = num_regs + (num_regs / 20);    /* Add some slop space.  */
       size_renumber = regno_allocated * sizeof (short);
 
       if (!reg_n_info)
@@ -2171,7 +2171,7 @@ allocate_reg_info (size_t num_regs, int new_p, int renumber_p)
        {
          VARRAY_GROW (reg_n_info, regno_allocated);
 
-         if (new_p)            /* if we're zapping everything, no need to realloc */
+         if (new_p)            /* If we're zapping everything, no need to realloc.  */
            {
              free ((char *) renumber);
              free ((char *) reg_pref);
index 435a1565cc2ac6f1ee10d69e221fabd9e9da05ce..550694a02019ebc08205eab4ed08ab13862d45d4 100644 (file)
@@ -2064,7 +2064,7 @@ stable_and_no_regs_but_for_p (rtx x, rtx src, rtx dst)
       if (code == MEM
          && ! stable_and_no_regs_but_for_p (XEXP (x, 0), src, dst))
        return 0;
-      /* fall through */
+      /* Fall through.  */
     default:
       return ! rtx_unstable_p (x);
     }
index 5590598148e1ffd60b139dbc1859aab5eb91cb2b..4a633969e21c0fd57aefa14c2616b4a464e7589a 100644 (file)
@@ -55,7 +55,7 @@ extern int _obstack_allocated_p (struct obstack *h, void *obj);
 int tree_node_counts[(int) all_kinds];
 int tree_node_sizes[(int) all_kinds];
 
-/* Keep in sync with tree.h:enum tree_node_kind. */
+/* Keep in sync with tree.h:enum tree_node_kind.  */
 static const char * const tree_node_kind_names[] = {
   "decls",
   "types",
index b627a98c51cab7888299ebf24ec18fb94320d6a5..22cbfdb4af055a311f1f5b3f8444b2dce686763a 100644 (file)
@@ -3021,7 +3021,7 @@ extern void fancy_abort (const char *, int, const char *)
 #define abort() fancy_abort (__FILE__, __LINE__, __FUNCTION__)
 
 /* Enum and arrays used for tree allocation stats. 
-   Keep in sync with tree.c:tree_node_kind_names. */
+   Keep in sync with tree.c:tree_node_kind_names.  */
 typedef enum
 {
   d_kind,