]> gcc.gnu.org Git - gcc.git/commitdiff
basic-block.h: Fix comment formatting.
authorKazu Hirata <kazu@cs.umass.edu>
Sat, 18 Jan 2003 22:32:06 +0000 (22:32 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Sat, 18 Jan 2003 22:32:06 +0000 (22:32 +0000)
* basic-block.h: Fix comment formatting.
* calls.c: Likewise.
* combine.c: Likewise.
* convert.c: Likewise.
* gcov.c: Likewise.
* haifa-sched.c: Likewise.
* libgcc2.c: Likewise.
* loop.c: Likewise.
* profile.c: Likewise.
* system.h: Likewise.

From-SVN: r61478

gcc/ChangeLog
gcc/basic-block.h
gcc/calls.c
gcc/combine.c
gcc/convert.c
gcc/gcov.c
gcc/haifa-sched.c
gcc/libgcc2.c
gcc/loop.c
gcc/profile.c
gcc/system.h

index 21613b52ef709d322f4345ebd8a088e84c9828ca..fcf1cbcb98bc802d0358d0a1054dac3fdf37d04a 100644 (file)
@@ -1,3 +1,16 @@
+2003-01-18  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * basic-block.h: Fix comment formatting.
+       * calls.c: Likewise.
+       * combine.c: Likewise.
+       * convert.c: Likewise.
+       * gcov.c: Likewise.
+       * haifa-sched.c: Likewise.
+       * libgcc2.c: Likewise.
+       * loop.c: Likewise.
+       * profile.c: Likewise.
+       * system.h: Likewise.
+
 2003-01-18  Roger Sayle  <roger@eyesopen.com>
 
        * config/pa/pa.md (muldi3): Avoid invalid sharing of SUBREG RTXs.
index 5dd0007b2896cfa09ecba7a6b57f6abaa5fec552..fbc231eda0a122dea8db5b9a10945f8274353a36 100644 (file)
@@ -117,7 +117,7 @@ do {                                                                        \
    64bit.  Although a counter cannot be negative, we use a signed
    type, because erroneous negative counts can be generated when the
    flow graph is manipulated by various optimizations.  A signed type
-   makes those easy to detect. */
+   makes those easy to detect.  */
 typedef HOST_WIDEST_INT gcov_type;
 
 /* Control flow edge information.  */
index 18c7f604f5ce22f7f461f75ac166b76fd4c396eb..52b5fc3ddbb49e530f2ff380ccf69f2c99c47491 100644 (file)
@@ -1770,7 +1770,7 @@ load_register_parameters (args, num_actuals, call_fusage, flags,
 
          /* When a parameter is a block, and perhaps in other cases, it is
             possible that it did a load from an argument slot that was
-            already clobbered. */
+            already clobbered.  */
          if (is_sibcall
              && check_sibcall_argument_overlap (before_arg, &args[i], 0))
            *sibcall_failure = 1;
index 973d7095bcb532a36dd7219f02535bc038ebddf4..75a4e5fccb8a564e2c06dfa86184695534e28a14 100644 (file)
@@ -4350,7 +4350,7 @@ combine_simplify_rtx (x, op0_mode, last, in_dest)
        }
 
        /* Canonicalize (minus (neg A) (mult B C)) to 
-         (minus (mult (neg B) C) A). */
+         (minus (mult (neg B) C) A).  */
       if (GET_CODE (XEXP (x, 1)) == MULT 
          && GET_CODE (XEXP (x, 0)) == NEG)
        {
index 30aa629a45060b13e9c4a367804e98f4e4accecb..ae7b2c37bf432fa61aafcb76cf069a7ba61b04d4 100644 (file)
@@ -210,7 +210,7 @@ convert_to_real (type, expr)
 
          /* ??? Fortran frontend does not initialize built_in_decls.
             For some reason creating the decl using builtin_function does not
-            work as it should.   */
+            work as it should.  */
          if (built_in_decls [fcode])
            {
              arglist = build_tree_list (NULL_TREE, fold (convert_to_real (newtype, arg0)));
index 946a3a80a9331bb352542e7f9ddd01bb13217633..dd6dfc9f0df9269939d9c4b53c2468f4e0e9243e 100644 (file)
@@ -74,7 +74,7 @@ struct block_info;
 
 typedef struct arc_info
 {
-  /* source and destination blocks. */
+  /* source and destination blocks.  */
   struct block_info *src;
   struct block_info *dst;
 
@@ -106,11 +106,11 @@ typedef struct block_info
   arc_t *succ;
   arc_t *pred;
 
-  /* Number of unprocessed exit and entry arcs. */
+  /* Number of unprocessed exit and entry arcs.  */
   gcov_type num_succ;
   gcov_type num_pred;
 
-  /* Block execution count. */
+  /* Block execution count.  */
   gcov_type count;
   unsigned count_valid : 1;
   unsigned valid_chain : 1;
@@ -122,7 +122,7 @@ typedef struct block_info
   unsigned *encoding;
   unsigned num_encodings;
 
-  /* Temporary chain for solving graph. */
+  /* Temporary chain for solving graph.  */
   struct block_info *chain;
   
 } block_t;
@@ -171,7 +171,7 @@ typedef struct line_info
 {
   gcov_type count;        /* execution count */
   arc_t *branches;        /* branches from blocks that end on this
-                             line. */
+                             line.  */
   unsigned exists : 1;
 } line_t;
 
@@ -184,7 +184,7 @@ typedef struct source_info
   char *name;
   unsigned index;
 
-  /* Array of line information. */
+  /* Array of line information.  */
   line_t *lines;
   unsigned num_lines;
 
@@ -202,7 +202,7 @@ static function_t *functions;
 
 static source_t *sources;
 
-/* Modification time of graph file. */
+/* Modification time of graph file.  */
 
 static time_t bbg_file_time;
 
@@ -245,7 +245,7 @@ static char *object_directory = 0;
 static int flag_preserve_paths = 0;
 
 /* Output the number of times a branch was taken as opposed to the percentage
-   of times it was taken. */
+   of times it was taken.  */
 
 static int flag_counts = 0;
 
@@ -977,8 +977,8 @@ solve_flow_graph (fn)
   unsigned ix;
   arc_t *arc;
   gcov_type *count_ptr = fn->counts;
-  block_t *valid_blocks = NULL;    /* valid, but unpropagated blocks. */
-  block_t *invalid_blocks = NULL;  /* invalid, but inferable blocks. */
+  block_t *valid_blocks = NULL;    /* valid, but unpropagated blocks.  */
+  block_t *invalid_blocks = NULL;  /* invalid, but inferable blocks.  */
   
   if (fn->num_blocks < 2)
     fnotice (stderr, "%s:`%s' lacks entry and/or exit blocks\n",
@@ -1027,7 +1027,7 @@ solve_flow_graph (fn)
       /* Sort the successor arcs into ascending dst order. profile.c
         normally produces arcs in the right order, but sometimes with
         one or two out of order.  We're not using a particularly
-        smart sort. */
+        smart sort.  */
       if (out_of_order)
        {
          arc_t *start = fn->blocks[ix].succ;
@@ -1380,7 +1380,7 @@ add_line_counts (coverage, fn)
   line_t *line = NULL; /* this is propagated from one iteration to the
                          next.  */
 
-  /* Scan each basic block. */
+  /* Scan each basic block.  */
   for (ix = 0; ix != fn->num_blocks; ix++)
     {
       const block_t *block = &fn->blocks[ix];
@@ -1434,7 +1434,7 @@ add_line_counts (coverage, fn)
     fnotice (stderr, "%s:no lines for `%s'\n", bbg_file_name, fn->name);
 }
 
-/* Accumulate the line counts of a file. */
+/* Accumulate the line counts of a file.  */
 
 static void
 accumulate_line_counts (src)
@@ -1447,7 +1447,7 @@ accumulate_line_counts (src)
     {
       arc_t *arc, *arc_p, *arc_n;
       
-      /* Total and reverse the branch information. */
+      /* Total and reverse the branch information.  */
       for (arc = line->branches, arc_p = NULL; arc; arc_p = arc, arc = arc_n)
        {
          arc_n = arc->line_next;
index c6b2aab49357a5700608ef690d3f1943dfb0ef70..c5b53cffd54910b7da9455742f5413bfd23328d4 100644 (file)
@@ -1543,7 +1543,7 @@ rm_other_notes (head, tail)
 
 /* This function looks for a new register being defined.
    If the destination register is already used by the source,
-   a new register is not needed. */
+   a new register is not needed.  */
 
 static int
 find_set_reg_weight (x)
@@ -2263,7 +2263,7 @@ schedule_block (b, rgn_n_insns)
 
          /* Sort the ready list based on priority.  This must be
             redone here, as schedule_insn may have readied additional
-            insns that will not be sorted correctly. */
+            insns that will not be sorted correctly.  */
          if (ready.n_ready > 0)
            ready_sort (&ready);
 
index 6867c0d1430e17a3a6ab8ccc41fc3b6e830bfb1d..a47dfd10a329011ebe2ee5500a49484fcec07a82 100644 (file)
@@ -1279,7 +1279,7 @@ gcov_version_mismatch (struct gcov_info *ptr, unsigned version)
    program's checksum to make sure we only accumulate whole program
    statistics to the correct summary. An object file might be embedded
    in two separate programs, and we must keep the two program
-   summaries separate. */
+   summaries separate.  */
 
 static void
 gcov_exit (void)
@@ -1503,7 +1503,7 @@ gcov_exit (void)
       count_ptr = ptr->arc_counts;
       for (ix = ptr->n_functions, fn_info = ptr->functions; ix--; fn_info++)
        {
-         /* Announce function. */
+         /* Announce function.  */
          if (gcov_write_unsigned (da_file, GCOV_TAG_FUNCTION)
              || !(base = gcov_reserve_length (da_file))
              /* function name */
@@ -1533,7 +1533,7 @@ gcov_exit (void)
            goto write_error;
        }
 
-      /* Object file summary. */
+      /* Object file summary.  */
       if (gcov_write_summary (da_file, GCOV_TAG_OBJECT_SUMMARY, &object))
        goto write_error;
 
index 55c2c42b78b8bf0444affb0b13dfa14928813d65..d7ad050b52ea675facfc8b128ec35a807adc885c 100644 (file)
@@ -3267,7 +3267,7 @@ loop_invariant_p (loop, x)
 
       /* Out-of-range regs can occur when we are called from unrolling.
         These have always been created by the unroller and are set in
-        the loop, hence are never invariant. */
+        the loop, hence are never invariant.  */
 
       if (REGNO (x) >= (unsigned) regs->num)
        return 0;
index d14b86244ae46a59298a6879b6e342092bb6203f..5ee790a14dff6ad6d05bc321b4ada1ebba646bc4 100644 (file)
@@ -1674,7 +1674,7 @@ create_profiler ()
   /* Build structure.  */
   assemble_variable (structure, 0, 0, 0);
 
-  /* Build the constructor function to invoke __gcov_init. */
+  /* Build the constructor function to invoke __gcov_init.  */
   ctor_name = concat (IDENTIFIER_POINTER (get_file_function_name ('I')),
                      "_GCOV", NULL);
   ctor = build_decl (FUNCTION_DECL, get_identifier (ctor_name),
index 0d8106df09b145c4528c9835b4e282c90d51a609..a7f0bf271bfe435135a8326b8646bbe84cbc0a49 100644 (file)
@@ -569,7 +569,7 @@ typedef char _Bool;
 
 #if defined(FLEX_SCANNER) || defined(YYBISON)
 /* Flex and bison use malloc and realloc.  Yuk.  Note that this means
-   really_call_* cannot be used in a .l or .y file. */
+   really_call_* cannot be used in a .l or .y file.  */
 #define malloc xmalloc
 #define realloc xrealloc
 #endif
This page took 0.143708 seconds and 5 git commands to generate.