On Tue, Feb 26, 2019 at 3:27 PM Martin Liška <mli...@suse.cz> wrote: > > Hi. > > The patch is fixing an error in vec_safe_grow_cleared function. > Apart from that I improved readability of the report. > > Patch bootstrap with --enable-gather-detailed-mem-stats. > > Ready to be installed?
OK. Richard. > Thanks, > Martin > > gcc/ChangeLog: > > 2019-02-26 Martin Liska <mli...@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. > > libcpp/ChangeLog: > > 2019-02-26 Martin Liska <mli...@suse.cz> > > * symtab.c (ht_dump_statistics): Make > horizontal alignment for statistics. > --- > gcc/alloc-pool.h | 3 --- > gcc/bitmap.h | 1 - > gcc/ggc-common.c | 3 --- > gcc/mem-stats.h | 9 ++++++--- > gcc/tree-phinodes.c | 4 ++-- > gcc/tree-ssanames.c | 4 ++-- > gcc/vec.c | 3 --- > gcc/vec.h | 2 +- > libcpp/symtab.c | 24 +++++++++++++----------- > 9 files changed, 24 insertions(+), 29 deletions(-) > >