OSDN Git Service

* class.c (build_vtbl_initializer): Don't use build_vtable_entry.
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 Oct 2002 19:39:47 +0000 (19:39 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 Oct 2002 19:39:47 +0000 (19:39 +0000)
commit641985fa8129cf6748663ff9967e1f77ca76d605
treebc8ca7b32029d71b1854594ff6c94c1ba702f188
parent64df2c88f96ff10cc75d8e21121e72a020468a44
* class.c (build_vtbl_initializer): Don't use build_vtable_entry.
(build_vtable_entry): Remove.
* cp-tree.h (BINFO_VIRTUALS): Expand documentation.
(lang_decl): Add thunks.
(DECL_THUNKS): New macro.
* decl.c (duplicate_decls): Copy it.
* method.c (make_thunk): Simplify, and add thunks to DECL_THUNKS.
* semantics.c (emit_associated_thunks): Simplify.

* g++.dg/abi/vthunk2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58536 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/method.c
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/abi/vthunk2.C [new file with mode: 0644]