aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/method.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2001-07-31 16:12:04 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2001-07-31 16:12:04 +0000
commitbefe7c61462d147b408df88fe8a6f8e14e3ad877 (patch)
tree3547b7352d8bd1e1b80a28e48e5f9c9608a18e8e /gcc/cp/method.c
parentdc56ceb766a005fadcd9287e7e72be947936f01a (diff)
downloadgcc-befe7c61462d147b408df88fe8a6f8e14e3ad877.zip
gcc-befe7c61462d147b408df88fe8a6f8e14e3ad877.tar.gz
gcc-befe7c61462d147b408df88fe8a6f8e14e3ad877.tar.bz2
The 3.0 ABI no longer has vbase pointer fields.
cp: The 3.0 ABI no longer has vbase pointer fields. * cp-tree.h (VBASE_NAME, VBASE_NAME_FORMAT, VBASE_NAME_P, FORMAT_VBASE_NAME): Remove. * method.c (do_build_copy_constructor): Adjust. (do_build_assign_ref): Adjust. * search.c (lookup_field_r): Adjust. * typeck.c (build_component_ref): Adjust. The 3.0 ABI always has a vtable pointer at the start of every polymorphic class. * rtti.c (build_headof_sub): Remove. (build_headof): Adjust. (get_tinfo_decl_dynamic): No need to check flag_rtti here. Adjust. (create_real_tinfo_var): Explain why we need a hidden name. From-SVN: r44515
Diffstat (limited to 'gcc/cp/method.c')
-rw-r--r--gcc/cp/method.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/cp/method.c b/gcc/cp/method.c
index 5b07ae2..03bf455 100644
--- a/gcc/cp/method.c
+++ b/gcc/cp/method.c
@@ -588,8 +588,6 @@ do_build_copy_constructor (fndecl)
{
if (VFIELD_NAME_P (DECL_NAME (field)))
continue;
- if (VBASE_NAME_P (DECL_NAME (field)))
- continue;
/* True for duplicate members. */
if (IDENTIFIER_CLASS_VALUE (DECL_NAME (field)) != field)
@@ -678,8 +676,6 @@ do_build_assign_ref (fndecl)
{
if (VFIELD_NAME_P (DECL_NAME (field)))
continue;
- if (VBASE_NAME_P (DECL_NAME (field)))
- continue;
/* True for duplicate members. */
if (IDENTIFIER_CLASS_VALUE (DECL_NAME (field)) != field)