Do not gather mem stats in run_exit_handles (PR
commitb6bff325a687ba4808942c9fa3adbba911b6d3be
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 25 Feb 2016 16:57:39 +0000 (25 16:57 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 25 Feb 2016 16:57:39 +0000 (25 16:57 +0000)
treeae7953ecabcf41b831608122c46292ebbe7c921d
parent72f9352a46f93ba338aba1dee302911d67822dd4
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
gcc/ChangeLog
gcc/alloc-pool.c
gcc/alloc-pool.h
gcc/toplev.c