re PR c++/11645 (Failure to deal with using and private inheritance)
authorMark Mitchell <mark@codesourcery.com>
Wed, 23 Jul 2003 21:28:24 +0000 (21:28 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Wed, 23 Jul 2003 21:28:24 +0000 (21:28 +0000)
commitbd16cb258ee3cf903c488b162b7cd479c12feb7c
tree9f2a2970cd70097047c205b2cf2c52e242f3e23d
parentff89cb01b7f1367a71be2b5df30c0768b20b2da8
re PR c++/11645 (Failure to deal with using and private inheritance)

PR c++/11645
* cp-tree.h (accessible_base_p): Declare.
* call.c (build_over_call): Use it.
* search.c (accessible_base_p): New function, split out from ...
(lookup_base): ... here.

PR c++/11645
* g++.dg/inherit/access4.C: New test.

From-SVN: r69724
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/cp-tree.h
gcc/cp/search.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/inherit/access4.C [new file with mode: 0644]