2015-12-16 Jason Merrill <jason@redhat.com>
+ PR c++/68309
+ * pt.c (instantiate_decl): Revert earlier change.
+
PR c++/63628
* pt.c (tsubst_pack_expansion): Also make dummy decls if
retrieve_local_specialization fails.
template from within the body of another. */
saved_local_specializations = local_specializations;
- /* Set up the list of local specializations, copying the current
- list if there is one. */
- if (local_specializations)
- local_specializations
- = new hash_map<tree, tree> (*local_specializations);
- else
- local_specializations = new hash_map<tree, tree>;
+ /* Set up the list of local specializations. */
+ local_specializations = new hash_map<tree, tree>;
/* Set up context. */
if (DECL_OMP_DECLARE_REDUCTION_P (code_pattern)