projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f107ee3
)
* pt.c (lookup_template_class_1): Clear elt.spec.
author
Jason Merrill
<jason@redhat.com>
Tue, 4 Aug 2015 15:18:45 +0000
(11:18 -0400)
committer
Jason Merrill
<jason@gcc.gnu.org>
Tue, 4 Aug 2015 15:18:45 +0000
(11:18 -0400)
From-SVN: r226581
gcc/cp/ChangeLog
patch
|
blob
|
history
gcc/cp/pt.c
patch
|
blob
|
history
diff --git
a/gcc/cp/ChangeLog
b/gcc/cp/ChangeLog
index e53e00d088bb889d17629aa240e6549df564dd66..f51132cf8529ae540109a282d6aa0e723a2dfc34 100644
(file)
--- a/
gcc/cp/ChangeLog
+++ b/
gcc/cp/ChangeLog
@@
-1,5
+1,7
@@
2015-08-04 Jason Merrill <jason@redhat.com>
+ * pt.c (lookup_template_class_1): Clear elt.spec.
+
* tree.c (build_target_expr): Copy the location from value.
2015-08-02 Patrick Palka <ppalka@gcc.gnu.org>
diff --git
a/gcc/cp/pt.c
b/gcc/cp/pt.c
index 6bf3d23f2a7a45d15b9ec9521104b14d93f39f92..7ad23341ca2aa82d0e529336f1f4e492c6dcf3ec 100644
(file)
--- a/
gcc/cp/pt.c
+++ b/
gcc/cp/pt.c
@@
-7876,6
+7876,7
@@
lookup_template_class_1 (tree d1, tree arglist, tree in_decl, tree context,
/* If we already have this specialization, return it. */
elt.tmpl = gen_tmpl;
elt.args = arglist;
+ elt.spec = NULL_TREE;
hash = spec_hasher::hash (&elt);
entry = type_specializations->find_with_hash (&elt, hash);