[PATCH 0/4] Enhance and fix various issues in -fmem-report

marxin mliska@suse.cz
Mon Nov 5 08:07:00 GMT 2018


Hi.

As I discussed with Richi, the patch set fixes few issues in memory
report. Apart from that it makes it more readable with usage of k (or M)
as units.

Survives bootstrap and regression tests on x86_64-linux-gnu. And there
are no new warnings on i586-linux-gnu.

Martin

marxin (4):
  Fix string pool statistics.
  Fix GNU coding style.
  Fix vector memory statistics.
  Come up with SIZE_AMOUNT and use it in memory statistics and sort
    stats.

 gcc/alloc-pool.h        | 18 ++++----
 gcc/bitmap.h            | 12 +++---
 gcc/ggc-common.c        | 32 +++++----------
 gcc/ggc-page.c          | 86 +++++++++++++++++++-------------------
 gcc/gimple.c            | 11 ++---
 gcc/gimple.h            | 10 -----
 gcc/input.c             | 75 +++++++++------------------------
 gcc/mem-stats.h         | 85 ++++++++++++++++++--------------------
 gcc/rtl.c               | 66 ++++++++++++++++++++----------
 gcc/system.h            | 25 +++++++++++
 gcc/trans-mem.c         |  2 +-
 gcc/tree-cfg.c          |  8 ++--
 gcc/tree-dfa.c          | 16 ++++----
 gcc/tree-phinodes.c     |  5 ++-
 gcc/tree-ssanames.c     |  6 ++-
 gcc/tree.c              | 91 ++++++++++++++++++++++++++++++-----------
 gcc/vec.c               | 51 ++++++++++++++---------
 gcc/vec.h               | 12 ++++--
 libcpp/include/symtab.h |  4 +-
 libcpp/symtab.c         | 28 +++++++++----
 20 files changed, 354 insertions(+), 289 deletions(-)

-- 
2.19.1



More information about the Gcc-patches mailing list