diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-07-01 22:01:18 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-07-01 22:01:18 +0000 |
commit | afe02847ebc577a5c0c91b607f9a0a3e2d2a5231 (patch) | |
tree | 95303aa7e1bbe09aa276536d5a60e3435a80954f /gcc/cp/method.c | |
parent | 4ac79c3242b1a2288fa77087fd1fd5eb06c8f4de (diff) | |
download | ppe42-gcc-afe02847ebc577a5c0c91b607f9a0a3e2d2a5231.tar.gz ppe42-gcc-afe02847ebc577a5c0c91b607f9a0a3e2d2a5231.zip |
PR c++/28215
* method.c (make_thunk): Unset DECL_USE_TEMPLATE and
DECL_TEMPLATE_INFO.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115118 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/method.c')
-rw-r--r-- | gcc/cp/method.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/cp/method.c b/gcc/cp/method.c index 1f06229eb1c..9029e85a653 100644 --- a/gcc/cp/method.c +++ b/gcc/cp/method.c @@ -161,6 +161,9 @@ make_thunk (tree function, bool this_adjusting, DECL_DECLARED_INLINE_P (thunk) = 0; /* Nor has it been deferred. */ DECL_DEFERRED_FN (thunk) = 0; + /* Nor is it a template instantiation. */ + DECL_USE_TEMPLATE (thunk) = 0; + DECL_TEMPLATE_INFO (thunk) = NULL; /* Add it to the list of thunks associated with FUNCTION. */ TREE_CHAIN (thunk) = DECL_THUNKS (function); |