re PR c++/68309 (ICE: Segmentation fault)
PR c++/68309 * pt.c (instantiate_decl): Revert earlier change. From-SVN: r231714
This commit is contained in:
parent
65016251f6
commit
4793cbbaa5
2 changed files with 5 additions and 7 deletions
|
@ -1,5 +1,8 @@
|
|||
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.
|
||||
|
|
|
@ -21742,13 +21742,8 @@ instantiate_decl (tree d, int defer_ok,
|
|||
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)
|
||||
|
|
Loading…
Add table
Reference in a new issue