r263995 - in /branches/c++-modules: ChangeLog.m...
nathan@gcc.gnu.org
nathan@gcc.gnu.org
Thu Aug 30 19:47:00 GMT 2018
Author: nathan
Date: Thu Aug 30 19:47:57 2018
New Revision: 263995
URL: https://gcc.gnu.org/viewcvs?rev=263995&root=gcc&view=rev
Log:
Fix more GC
gcc/cp/
* module.c (module_state): Tag for_user.
(module_state_hash): Defive from ggc_ptr_hash.
(init_module_processing): GGC alloc hash table. get mapper when
not lazy, add ggc_collect.
(finish_module_parse): Don't zap hash table here ...
(finish_module_processing): ... do it here instead.
gcc/testsuite/
* g++.dg/modules/gc-2_a.C: New.
* g++.dg/modules/gc-2.map: New.
Added:
branches/c++-modules/gcc/testsuite/g++.dg/modules/gc-2.map
branches/c++-modules/gcc/testsuite/g++.dg/modules/gc-2_a.C
Modified:
branches/c++-modules/ChangeLog.modules
branches/c++-modules/gcc/cp/module.c
More information about the Gcc-cvs
mailing list