diff options
author | Martin Liska <mliska@suse.cz> | 2015-06-03 11:36:08 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2015-06-03 09:36:08 +0000 |
commit | b2b43e33298fd62d7348696044e51086a02b0cb2 (patch) | |
tree | 7c6a8149f569ee6faec897bb31d43beb8e5b4577 /gcc/mem-stats.h | |
parent | ac05926156c0997b191af1176122ee3d8663d19e (diff) | |
download | gcc-b2b43e33298fd62d7348696044e51086a02b0cb2.zip gcc-b2b43e33298fd62d7348696044e51086a02b0cb2.tar.gz gcc-b2b43e33298fd62d7348696044e51086a02b0cb2.tar.bz2 |
Fix memory report layout at various places.
* alloc-pool.h (struct pool_usage): Correct space padding.
* ggc-page.c (ggc_print_statistics): Align columns in a report.
* mem-stats.h (struct mem_usage): Add argument to print_dash_line.
* tree.c (dump_tree_statistics): Align columns in a report.
From-SVN: r224071
Diffstat (limited to 'gcc/mem-stats.h')
-rw-r--r-- | gcc/mem-stats.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/mem-stats.h b/gcc/mem-stats.h index 092bfd3..641f7c1 100644 --- a/gcc/mem-stats.h +++ b/gcc/mem-stats.h @@ -185,9 +185,9 @@ struct mem_usage } /* Print line made of dashes. */ - static inline void print_dash_line () + static inline void print_dash_line (size_t count = 140) { - fprintf (stderr, "%s\n", std::string (140, '-').c_str ()); + fprintf (stderr, "%s\n", std::string (count, '-').c_str ()); } /* Dump header with NAME. */ |