c++/8117: [3.2 regression] member function pointers and multiple inheritance

Janis Johnson janis187@us.ibm.com
Fri Dec 13 16:54:00 GMT 2002


This regression from 3.0.4 has been fixed on the mainline
but still exists in the 3.2 branch.

The bug showed up when this patch was added:

2001-11-28  Nathan Sidwell  <nathan@codesourcery.com>

        * cp-tree.h (UNIQUELY_DERIVED_FROM_P): Use lookup base.
        * call.c (standard_conversion): Use lookup_base.
        * class.c (strictly_overrides): Likewise.
        * cvt.c (build_up_reference): Adjust comment.
        * init.c (build_member_call): Reformat.
        * search.c (get_binfo): Remove.
        * tree.c (binfo_value): Remove.
        * typeck.c (build_static_cast): Use lookup_base.
        * typeck2.c (binfo_or_else): Use lookup_base.

The bug went away on the mainline when this patch was added:

2002-10-25  Mark Mitchell  <mark@codesourcery.com>

        * call.c (build_over_call): Use DECL_CONTEXT, not
        * class.c (modify_vtable_entry): Don't mess with
        * cp-tree.h (lang_type_class): Remove vsize.
        * pt.c (build_template_decl): Don't set it.
        * typeck.c (expand_ptrmemfunc_cst): Don't use it.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8117





More information about the Gcc-bugs mailing list