diff options
author | Jakub Jelinek <jakub@redhat.com> | 2000-06-08 18:14:17 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2000-06-08 18:14:17 +0200 |
commit | c67dca7a860cc65c1f7f0a1ccc8de41ce394d631 (patch) | |
tree | dcccf61af3ecf8b7e8b30fa86c065b90f6268764 /gcc | |
parent | 06ebf127567a1673e0443ddeaf1527492f60a9ab (diff) | |
download | gcc-c67dca7a860cc65c1f7f0a1ccc8de41ce394d631.zip gcc-c67dca7a860cc65c1f7f0a1ccc8de41ce394d631.tar.gz gcc-c67dca7a860cc65c1f7f0a1ccc8de41ce394d631.tar.bz2 |
* method.c (make_thunk): Clear DECL_VTT_PARM in thunk.
From-SVN: r34454
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/method.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index c034337..452a327 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2000-06-08 Jakub Jelinek <jakub@redhat.com> + + * method.c (make_thunk): Clear DECL_VTT_PARM in thunk. + 2000-06-07 Mark Mitchell <mark@codesourcery.com> * decl.c (pushdecl): Look up functions by DECL_NAME, not diff --git a/gcc/cp/method.c b/gcc/cp/method.c index 495c47b..f145650 100644 --- a/gcc/cp/method.c +++ b/gcc/cp/method.c @@ -2133,6 +2133,7 @@ make_thunk (function, delta, vcall_index) DECL_CONSTRUCTOR_P (thunk) = 0; DECL_EXTERNAL (thunk) = 1; DECL_ARTIFICIAL (thunk) = 1; + DECL_VTT_PARM (thunk) = NULL_TREE; /* Even if this thunk is a member of a local class, we don't need a static chain. */ DECL_NO_STATIC_CHAIN (thunk) = 1; |