diff options
Diffstat (limited to 'gcc/cp')
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/method.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 704c7fc5ec0..1066de11c43 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2001-04-12 Nathan Sidwell <nathan@codesourcery.com> + + * method.c (make_thunk): Clear DECL_CLONED_FUNCTION. + 2001-04-11 Mark Mitchell <mark@codesourcery.com> * optimize.c (maybe_clone_body): Copy DECL_NUM_STMTS from the diff --git a/gcc/cp/method.c b/gcc/cp/method.c index 2f894846a80..5839767375a 100644 --- a/gcc/cp/method.c +++ b/gcc/cp/method.c @@ -363,6 +363,8 @@ make_thunk (function, delta, vcall_index, generate_with_vtable_p) DECL_SAVED_FUNCTION_DATA (thunk) = NULL; DECL_DESTRUCTOR_P (thunk) = 0; DECL_CONSTRUCTOR_P (thunk) = 0; + /* And neither is it a clone. */ + DECL_CLONED_FUNCTION (thunk) = NULL_TREE; DECL_EXTERNAL (thunk) = 1; DECL_ARTIFICIAL (thunk) = 1; /* Even if this thunk is a member of a local class, we don't |