diff options
author | Nathan Sidwell <nathan@acm.org> | 2016-11-22 18:44:08 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2016-11-22 18:44:08 +0000 |
commit | 730c9e75a32c13496bf1c053c3a25e698e6fdb19 (patch) | |
tree | 593fd435262ee9d641f838577d5c18167d955ab7 /gcc/gcov-io.c | |
parent | 9d1e3afb5484c71eaaea23fc3a4b86fe35418d43 (diff) | |
download | gcc-730c9e75a32c13496bf1c053c3a25e698e6fdb19.zip gcc-730c9e75a32c13496bf1c053c3a25e698e6fdb19.tar.gz gcc-730c9e75a32c13496bf1c053c3a25e698e6fdb19.tar.bz2 |
gcc-ar.c (main): Fix indentation.
gcc/
* gcc-ar.c (main): Fix indentation.
* gcov-io.c (gcov_write_summary): Remove extraneous {...}
* ggc-page.c (move_ptes_to_front): Fix formatting.
* hsa-dump.c (dump_has_cfun): Fix indentation.
* sel-sched-ir.h: Remove trailing blank lines.
gcc/c-family/
* array-notation-common.c (cilkplus_extrat_an_triplets): Fix
indentation.
From-SVN: r242719
Diffstat (limited to 'gcc/gcov-io.c')
-rw-r--r-- | gcc/gcov-io.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/gcc/gcov-io.c b/gcc/gcov-io.c index 731c2cf..a1b247b 100644 --- a/gcc/gcov-io.c +++ b/gcc/gcov-io.c @@ -421,13 +421,11 @@ gcov_write_summary (gcov_unsigned_t tag, const struct gcov_summary *summary) histo_bitvector[bv_ix] = 0; csum = &summary->ctrs[GCOV_COUNTER_ARCS]; for (h_ix = 0; h_ix < GCOV_HISTOGRAM_SIZE; h_ix++) - { - if (csum->histogram[h_ix].num_counters > 0) - { - histo_bitvector[h_ix / 32] |= 1 << (h_ix % 32); - h_cnt++; - } - } + if (csum->histogram[h_ix].num_counters) + { + histo_bitvector[h_ix / 32] |= 1 << (h_ix % 32); + h_cnt++; + } gcov_write_tag_length (tag, GCOV_TAG_SUMMARY_LENGTH (h_cnt)); gcov_write_unsigned (summary->checksum); for (csum = summary->ctrs, ix = GCOV_COUNTERS_SUMMABLE; ix--; csum++) |