diff options
author | Martin Liska <mliska@suse.cz> | 2016-02-25 17:57:39 +0100 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2016-02-25 16:57:39 +0000 |
commit | bd545bcf1c351c0460a3e9b6185dc1065baf002f (patch) | |
tree | ae7953ecabcf41b831608122c46292ebbe7c921d /gcc/alloc-pool.c | |
parent | bd28a34f33a84524d8c61fbf23d88d1158c579a7 (diff) | |
download | gcc-bd545bcf1c351c0460a3e9b6185dc1065baf002f.zip gcc-bd545bcf1c351c0460a3e9b6185dc1065baf002f.tar.gz gcc-bd545bcf1c351c0460a3e9b6185dc1065baf002f.tar.bz2 |
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.
From-SVN: r233722
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 ae5e232..43d06f6 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 |