+Mon Apr 17 17:11:16 2000 Mark P Mitchell <mark@codesourcery.com>
+
+ * method.c (make_thunk): Set DECL_CONTEXT for a THUNK_DECL.
+
2000-04-16 Mark Mitchell <mark@codesourcery.com>
* class.c (build_vtable_entry): Don't build thunks for type-info
= vcall_index * int_size_in_bytes (vtable_entry_type);
DECL_EXTERNAL (thunk) = 1;
DECL_ARTIFICIAL (thunk) = 1;
+ DECL_CONTEXT (thunk) = DECL_CONTEXT (func_decl);
/* So that finish_file can write out any thunks that need to be: */
pushdecl_top_level (thunk);
}