search.c (protected_accessible_p): Also allow the access if the member is public...
authorJason Merrill <jason@casey.cygnus.com>
Mon, 28 Feb 2000 16:55:40 +0000 (16:55 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 28 Feb 2000 16:55:40 +0000 (11:55 -0500)
commitd7cca31ee73010e683e963b4f65c8163e176b1b3
tree7263e0f1896a62f1b3d50a177d4bdb162a3c27c2
parent0ca5aade1421135756a3263fbce9b6f2e37ac29c
search.c (protected_accessible_p): Also allow the access if the member is public in DERIVED.

        * search.c (protected_accessible_p): Also allow the access if
        the member is public in DERIVED.  Lose TYPE parm.
        (friend_accessible_p): Lose TYPE parm.
        (accessible_p): Adjust.

From-SVN: r32238
gcc/cp/ChangeLog
gcc/cp/search.c