aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/class.c
diff options
context:
space:
mode:
authorMike Stump <mrs@gcc.gnu.org>1997-01-21 21:32:30 +0000
committerMike Stump <mrs@gcc.gnu.org>1997-01-21 21:32:30 +0000
commitde22184bb226fedca7b991f096b8d8befb9aba6f (patch)
tree92bcfc0ecf826b973e72cd47cdbea7f390107f9c /gcc/cp/class.c
parent85b119d1b75639e119c2723d1a4cd3c422e16ed4 (diff)
downloadgcc-de22184bb226fedca7b991f096b8d8befb9aba6f.zip
gcc-de22184bb226fedca7b991f096b8d8befb9aba6f.tar.gz
gcc-de22184bb226fedca7b991f096b8d8befb9aba6f.tar.bz2
90th Cygnus<->FSF quick merge
From-SVN: r13542
Diffstat (limited to 'gcc/cp/class.c')
-rw-r--r--gcc/cp/class.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/cp/class.c b/gcc/cp/class.c
index 8d766b6..42732cc 100644
--- a/gcc/cp/class.c
+++ b/gcc/cp/class.c
@@ -1429,7 +1429,6 @@ struct base_info
char cant_have_default_ctor;
char cant_have_const_ctor;
char no_const_asn_ref;
- char base_has_virtual;
};
/* Record information about type T derived from its base classes.
@@ -1547,9 +1546,6 @@ finish_base_struct (t, b, t_binfo)
if (TYPE_VIRTUAL_P (basetype))
{
- /* Remember that the baseclass has virtual members. */
- b->base_has_virtual = 1;
-
/* Ensure that this is set from at least a virtual base
class. */
if (b->rtti == NULL_TREE)
@@ -3026,7 +3022,6 @@ finish_struct_1 (t, warn_anon)
tree fields = TYPE_FIELDS (t);
tree fn_fields = TYPE_METHODS (t);
tree x, last_x, method_vec;
- int base_has_virtual;
int all_virtual;
int has_virtual;
int max_has_virtual;
@@ -3126,7 +3121,6 @@ finish_struct_1 (t, warn_anon)
cant_have_default_ctor = base_info.cant_have_default_ctor;
cant_have_const_ctor = base_info.cant_have_const_ctor;
no_const_asn_ref = base_info.no_const_asn_ref;
- base_has_virtual = base_info.base_has_virtual;
n_baseclasses = TREE_VEC_LENGTH (BINFO_BASETYPES (t_binfo));
aggregate = 0;
}
@@ -3142,7 +3136,6 @@ finish_struct_1 (t, warn_anon)
cant_have_default_ctor = 0;
cant_have_const_ctor = 0;
no_const_asn_ref = 0;
- base_has_virtual = 0;
}
#if 0