* method.c (make_thunk): Clear DECL_VTT_PARM in thunk.
authorJakub Jelinek <jakub@redhat.com>
Thu, 8 Jun 2000 16:14:17 +0000 (18:14 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 8 Jun 2000 16:14:17 +0000 (18:14 +0200)
From-SVN: r34454

gcc/cp/ChangeLog
gcc/cp/method.c

index c034337bc0efe00761a3fbc432afd1d4c8c1c525..452a327e65334a12b4c1293590d53838143b0d4d 100644 (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
index 495c47b3d5d9f3a67aa68c6136f8ebbfedb3fbc0..f145650e8f3230fd2b4fcd78c6913b2ba671ecb1 100644 (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;