r263775 - in /branches/c++-modules: ChangeLog.m...
nathan@gcc.gnu.org
nathan@gcc.gnu.org
Wed Aug 22 13:21:00 GMT 2018
Author: nathan
Date: Wed Aug 22 13:21:36 2018
New Revision: 263775
URL: https://gcc.gnu.org/viewcvs?rev=263775&root=gcc&view=rev
Log:
Fix GTY
gcc/cp/
* cp-tree.h (struct mc_index): Don't mark.
(struct mc_slot): Converted from union. Adjust.
(struct module_cluster): Skip mc_index.
* module.c (struct slurping,spewing): Skip range_t members.
(class module_state): Remove static data members.
(global_tree_arys, fixed_trees, global_crc, our_opts, lazy_lru)
(lazy_open, modules, modules_hash): New static vars. Adjust uses.
(finish_module): Add gc point.
gcc/testsuite/
* g++.dg/modules/gc-1_[abcd].C: New.
Added:
branches/c++-modules/gcc/testsuite/g++.dg/modules/gc-1_a.C
branches/c++-modules/gcc/testsuite/g++.dg/modules/gc-1_b.C
branches/c++-modules/gcc/testsuite/g++.dg/modules/gc-1_c.C
branches/c++-modules/gcc/testsuite/g++.dg/modules/gc-1_d.C
Modified:
branches/c++-modules/ChangeLog.modules
branches/c++-modules/gcc/cp/cp-tree.h
branches/c++-modules/gcc/cp/module.c
More information about the Gcc-cvs
mailing list