diff options
author | Jason Merrill <jason@redhat.com> | 2016-07-19 02:05:23 -0400 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2016-07-19 16:47:26 -0400 |
commit | 76d6f24cb156f765616a30e329f80a26c71e35c4 (patch) | |
tree | e53fe65b45a5caf7a52d12326026f2f6732cec57 | |
parent | 02feb67d1073bc9a8b048fab24320021ea7372a1 (diff) | |
download | gcc-76d6f24cb156f765616a30e329f80a26c71e35c4.tar.gz |
Only create concept hash tables when flag_concepts.
-rw-r--r-- | gcc/cp/pt.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index 5608831346e..99b150af354 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -24861,6 +24861,9 @@ save_subsumption_result (tree t1, tree t2, bool result) void init_constraint_processing (void) { + if (!flag_concepts) + return; + decl_constraints = hash_table<constr_hasher>::create_ggc(37); constraint_memos = hash_table<constraint_sat_hasher>::create_ggc(37); concept_memos = hash_table<concept_spec_hasher>::create_ggc(37); |