From bd545bcf1c351c0460a3e9b6185dc1065baf002f Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Thu, 25 Feb 2016 17:57:39 +0100 Subject: 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 --- gcc/alloc-pool.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/alloc-pool.c') 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_allocator_usage; +bool after_memory_report = false; /* Output per-alloc_pool memory usage statistics. */ void -- cgit v1.1