]> gcc.gnu.org Git - gcc.git/commit
re PR c++/10990 (Cannot convert with dynamic_cast<> to a private base class from...
authorMark Mitchell <mark@codesourcery.com>
Thu, 26 Jun 2003 00:07:52 +0000 (00:07 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 26 Jun 2003 00:07:52 +0000 (00:07 +0000)
commite80706c4a45eb63d7fd52f6bb0a2ccf28f2eba75
treeacea28b21525c5f54e938a92d72480006a29a635
parent3fe18f1d4722d2cc202978537ec28ba3668e5cc8
re PR c++/10990 (Cannot convert with dynamic_cast<> to a private base class from within a member function)

PR c++/10990
* search.c (lookup_base_r): Rely on accessible_p, rather than
trying to emulate that logic here.

PR c++/10990
* g++.dg/rtti/dyncast1.C: New test.
* g++.dg/abi/mangle4.C: Correct base-specifier access.
* g++.dg/lookup/scoped1.C: Remove XFAIL.
* g++.old-deja/g++.martin/pmf1.C: Correct base-specifier access.

From-SVN: r68507
gcc/cp/ChangeLog
gcc/cp/search.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/abi/mangle4.C
gcc/testsuite/g++.dg/lookup/scoped1.C
gcc/testsuite/g++.dg/rtti/dyncast1.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.martin/pmf1.C
This page took 0.066527 seconds and 5 git commands to generate.