* method.c (make_thunk): Clear DECL_VTT_PARM in thunk.

From-SVN: r34454
This commit is contained in:
Jakub Jelinek 2000-06-08 18:14:17 +02:00 committed by Jakub Jelinek
parent 06ebf12756
commit c67dca7a86
2 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -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;