Improve memory statistics report readability.
commit60448173c4fc67032eb30e6e189055d7c97ceafd
authorMartin Liska <mliska@suse.cz>
Tue, 26 Feb 2019 17:27:52 +0000 (26 18:27 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Tue, 26 Feb 2019 17:27:52 +0000 (26 17:27 +0000)
tree4418776fc5d2c76154a2e422ee0e2dbd0379bf37
parent24f0c84247c433826b6309b59151985d1e8893d5
Improve memory statistics report readability.

2019-02-26  Martin Liska  <mliska@suse.cz>

* alloc-pool.h (struct pool_usage): Remove extra
print_dash_line.
* bitmap.h (struct bitmap_usage): Likewise.
* ggc-common.c (struct ggc_usage): Likewise.
* mem-stats.h (struct mem_usage): Likewise.
(mem_alloc_description::dump): Print dash lines
here and repeat header at the end of a table report.
It's then more readable.
* tree-phinodes.c (phinodes_print_statistics): Make
horizontal alignment.
* tree-ssanames.c (ssanames_print_statistics): Likewise.
* vec.c (struct vec_usage): Remove extra print_dash_line.
* vec.h (vec_safe_grow_cleared): Pass PASS_MEM_STAT.
2019-02-26  Martin Liska  <mliska@suse.cz>

* symtab.c (ht_dump_statistics): Make
horizontal alignment for statistics.

From-SVN: r269221
gcc/ChangeLog
gcc/alloc-pool.h
gcc/bitmap.h
gcc/ggc-common.c
gcc/mem-stats.h
gcc/tree-phinodes.c
gcc/tree-ssanames.c
gcc/vec.c
gcc/vec.h
libcpp/ChangeLog
libcpp/symtab.c