OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0aa500
)
comment
author
jason
<jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Dec 2000 19:31:49 +0000
(19:31 +0000)
committer
jason
<jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Dec 2000 19:31:49 +0000
(19:31 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38258
138bc75d
-0d04-0410-961f-
82ee72b054a4
gcc/cp/pt.c
patch
|
blob
|
history
diff --git
a/gcc/cp/pt.c
b/gcc/cp/pt.c
index
87d4195
..
a4463eb
100644
(file)
--- a/
gcc/cp/pt.c
+++ b/
gcc/cp/pt.c
@@
-5788,6
+5788,9
@@
tsubst_decl (t, args, type, in_decl)
maybe_retrofit_in_chrg (r);
if (DECL_CONSTRUCTOR_P (r))
grok_ctor_properties (ctx, r);
+ /* If this is an instantiation of a member template, clone it.
+ If it isn't, that'll be handled by
+ clone_constructors_and_destructors. */
if (PRIMARY_TEMPLATE_P (gen_tmpl))
clone_function_decl(r, /*update_method_vec_p=*/0);
}