diff options
author | Jason Merrill <jason@redhat.com> | 2006-07-01 18:01:18 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2006-07-01 18:01:18 -0400 |
commit | cf5131b464422f1f34195dbcd91f5a0a05abc09b (patch) | |
tree | 95303aa7e1bbe09aa276536d5a60e3435a80954f /gcc/cp/method.c | |
parent | 5cb6c6295e8a0c24f4c603accb577624cd925874 (diff) | |
download | gcc-cf5131b464422f1f34195dbcd91f5a0a05abc09b.zip gcc-cf5131b464422f1f34195dbcd91f5a0a05abc09b.tar.gz gcc-cf5131b464422f1f34195dbcd91f5a0a05abc09b.tar.bz2 |
re PR c++/28215 (Bootstrap failure on arm-eabi)
PR c++/28215
* method.c (make_thunk): Unset DECL_USE_TEMPLATE and
DECL_TEMPLATE_INFO.
From-SVN: r115118
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 1f06229..9029e85 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); |