diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2002-06-04 11:30:46 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2002-06-04 11:30:46 +0000 |
commit | 589005ff217dde6c3c22842e27315d597a8fe710 (patch) | |
tree | e46147f472cc001827083ec7631a1140948ce7c6 /gcc/gcov.c | |
parent | 94213cff2aab4c3107aad20145838219caa829e0 (diff) | |
download | gcc-589005ff217dde6c3c22842e27315d597a8fe710.zip gcc-589005ff217dde6c3c22842e27315d597a8fe710.tar.gz gcc-589005ff217dde6c3c22842e27315d597a8fe710.tar.bz2 |
gbl-ctors.h: Fix formatting.
* gbl-ctors.h: Fix formatting.
* gcc.c: Likewise.
* gccspec.c: Likewise.
* gcov.c: Likewise.
* gcov-io.h: Likewise.
* gcse.c: Likewise.
* ggc-common.c: Likewise.
* ggc.h: Likewise.
* ggc-page.c: Likewise.
* ggc-simple.c: Likewise.
* global.c: Likewise.
* graph.h: Likewise.
* gthr-dce.h: Likewise.
* gthr.h: Likewise.
* gthr-posix.h: Likewise.
* gthr-rtems.h: Likewise.
* gthr-solaris.h: Likewise.
* gthr-win32.h: Likewise.
From-SVN: r54240
Diffstat (limited to 'gcc/gcov.c')
-rw-r--r-- | gcc/gcov.c | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -687,7 +687,7 @@ create_program_flow_graph (bptr) __read_long (&function_name_len, bbg_file, 4); function_name = xmalloc (function_name_len + 1); fread (function_name, 1, function_name_len + 1, bbg_file); - + /* Skip padding. */ tmp = (function_name_len + 1) % 4; @@ -695,7 +695,7 @@ create_program_flow_graph (bptr) fseek (bbg_file, 4 - tmp, SEEK_CUR); __read_long (&tmp, bbg_file, 4); /* ignore -1. */ - + /* Read the cfg checksum. */ __read_long (&cfg_checksum, bbg_file, 4); @@ -729,7 +729,7 @@ create_program_flow_graph (bptr) __read_long (&flag_bits, bbg_file, 4); if (flag_bits & 0x1) arcptr->on_tree++; - else + else instr_arcs++; arcptr->fake = !! (flag_bits & 0x2); arcptr->fall_through = !! (flag_bits & 0x4); @@ -1063,9 +1063,9 @@ calculate_branch_probs (current_graph, block_num, branch_probs, last_line_num) a_ptr = (struct arcdata *) xmalloc (sizeof (struct arcdata)); a_ptr->total = total; if (total == 0) - a_ptr->hits = 0; + a_ptr->hits = 0; else - a_ptr->hits = arcptr->arc_count; + a_ptr->hits = arcptr->arc_count; a_ptr->call_insn = arcptr->fake; if (output_function_summary) @@ -1565,8 +1565,8 @@ output_data () ((a_ptr->hits * 100) + (a_ptr->total >> 1)) / a_ptr->total); - fnotice (gcov_file, - "branch %d taken = %s%%\n", i, c); + fnotice (gcov_file, + "branch %d taken = %s%%\n", i, c); } } } |