summaryrefslogtreecommitdiff
path: root/gcc/gcov.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2003-01-18 22:32:06 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2003-01-18 22:32:06 +0000
commit6a8fa8e205f8fe0782f011cab7010e4c41fa1b11 (patch)
tree425ca14b83df83fc9ec4077dae150050d77bb259 /gcc/gcov.c
parent4f9026a9b0a68137c21132b26e7c6ee69738d56b (diff)
downloadgcc-6a8fa8e205f8fe0782f011cab7010e4c41fa1b11.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61478 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcov.c')
-rw-r--r--gcc/gcov.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/gcc/gcov.c b/gcc/gcov.c
index 946a3a80a93..dd6dfc9f0df 100644
--- a/gcc/gcov.c
+++ b/gcc/gcov.c
@@ -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;