r270555 - in /branches/c++-modules: ChangeLog.m...
nathan@gcc.gnu.org
nathan@gcc.gnu.org
Wed Apr 24 20:19:00 GMT 2019
Author: nathan
Date: Wed Apr 24 20:19:59 2019
New Revision: 270555
URL: https://gcc.gnu.org/viewcvs?rev=270555&root=gcc&view=rev
Log:
gcc/cp/
* cp-tree.h (DECL_TEMPLATE_LAZY_SPECIALIZATIONS_P): New.
(lazy_load_specializations): Declare.
* module.cc (module_state::{read,write}_specializations): New.
(module_state::write_cluster) Return template count.
(module_state_config): Add num_specializations.
(module_state::{read,write}_config): Stream it.
(module_state::{read,write}): Stream spcializizations.
(lazy_load_specializations): New.
* pt.c (lookup_template_class_1, instantiate_template_1): Lazy
load specializations.
Modified:
branches/c++-modules/ChangeLog.modules
branches/c++-modules/gcc/cp/cp-tree.h
branches/c++-modules/gcc/cp/module.cc
branches/c++-modules/gcc/cp/name-lookup.h
branches/c++-modules/gcc/cp/pt.c
More information about the Gcc-cvs
mailing list