diff options
author | marxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-02-25 16:57:39 +0000 |
---|---|---|
committer | marxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-02-25 16:57:39 +0000 |
commit | b6bff325a687ba4808942c9fa3adbba911b6d3be (patch) | |
tree | ae7953ecabcf41b831608122c46292ebbe7c921d /gcc/alloc-pool.c | |
parent | 72f9352a46f93ba338aba1dee302911d67822dd4 (diff) |
Do not gather mem stats in run_exit_handles (PR
PR middle-end/69919
* alloc-pool.c (after_memory_report): New variable.
* alloc-pool.h (base_pool_allocator ::release): Do not use
the infrastructure if after_memory_report.
* toplev.c (toplev::main): Mark after memory report.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233722 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/alloc-pool.c')
-rw-r--r-- | gcc/alloc-pool.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/alloc-pool.c b/gcc/alloc-pool.c index ae5e232d40d..43d06f62153 100644 --- a/gcc/alloc-pool.c +++ b/gcc/alloc-pool.c @@ -25,6 +25,7 @@ along with GCC; see the file COPYING3. If not see ALLOC_POOL_ID_TYPE last_id; mem_alloc_description<pool_usage> pool_allocator_usage; +bool after_memory_report = false; /* Output per-alloc_pool memory usage statistics. */ void |