[Bug middle-end/69919] pool allocator and mem-stat race at program exit
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 25 16:58:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69919
--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Thu Feb 25 16:57:39 2016
New Revision: 233722
URL: https://gcc.gnu.org/viewcvs?rev=233722&root=gcc&view=rev
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/alloc-pool.c
trunk/gcc/alloc-pool.h
trunk/gcc/toplev.c
More information about the Gcc-bugs
mailing list