From c67dca7a860cc65c1f7f0a1ccc8de41ce394d631 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 8 Jun 2000 18:14:17 +0200 Subject: [PATCH] * method.c (make_thunk): Clear DECL_VTT_PARM in thunk. From-SVN: r34454 --- gcc/cp/ChangeLog | 4 ++++ gcc/cp/method.c | 1 + 2 files changed, 5 insertions(+) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index c034337bc0e..452a327e653 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2000-06-08 Jakub Jelinek + + * method.c (make_thunk): Clear DECL_VTT_PARM in thunk. + 2000-06-07 Mark Mitchell * decl.c (pushdecl): Look up functions by DECL_NAME, not diff --git a/gcc/cp/method.c b/gcc/cp/method.c index 495c47b3d5d..f145650e8f3 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; -- 2.30.2