[Bug c++/66957] [4.9/5/6 Regression] incorrect "is protected within this context" error

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Aug 18 14:44:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66957

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Aug 18 14:43:44 2015
New Revision: 226974

URL: https://gcc.gnu.org/viewcvs?rev=226974&root=gcc&view=rev
Log:
        PR c++/66957
        * search.c (protected_accessible_p): Revert fix for 38579.

Added:
    branches/gcc-4_9-branch/gcc/testsuite/g++.dg/inherit/access9.C
Modified:
    branches/gcc-4_9-branch/gcc/cp/ChangeLog
    branches/gcc-4_9-branch/gcc/cp/search.c
    branches/gcc-4_9-branch/gcc/testsuite/g++.dg/conversion/access1.C



More information about the Gcc-bugs mailing list