From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4954 invoked by alias); 13 Dec 2002 22:06:02 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 4926 invoked by uid 71); 13 Dec 2002 22:06:01 -0000 Date: Fri, 13 Dec 2002 14:06:00 -0000 Message-ID: <20021213220601.4925.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Wolfgang Bangerth Subject: Re: c++/8205: [3.2 regression] using declaration & mulitiple inheritance Reply-To: Wolfgang Bangerth X-SW-Source: 2002-12/txt/msg00782.txt.bz2 List-Id: The following reply was made to PR c++/8205; it has been noted by GNATS. From: Wolfgang Bangerth To: gcc-bugs@gcc.gnu.org Cc: gcc-gnats@gcc.gnu.org Subject: Re: c++/8205: [3.2 regression] using declaration & mulitiple inheritance Date: Fri, 13 Dec 2002 16:04:50 -0600 (CST) Upon closer inspection, I believe that this high priority regression is actually another manifestation of (high priority regression) c++/8117. The testcase for the latter is --------------------- struct A { virtual void foo() = 0; }; struct B : A {}; struct C : A {}; struct D : B, C { virtual void foo() {} }; void (D::* p)() = &D::foo; // 'A' is an ambiguous base of 'D' -------------------- while for the former -------------------- struct A { int i; }; struct B {}; class E : A, B { public: using A::i; }; void foo() { E().i; } // "`A' is an inaccessible base of `E'" --------------------- The theory that they are the same is also supported by the fact that both started to show up somewhere between 2001-11-25 and 2001-12-01. Regards Wolfgang ------------------------------------------------------------------------- Wolfgang Bangerth email: bangerth@ticam.utexas.edu www: http://www.ticam.utexas.edu/~bangerth