This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/66957] [4.9/5/6 Regression] incorrect "is protected within this context" error
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 18 Aug 2015 14:44:38 +0000
- Subject: [Bug c++/66957] [4.9/5/6 Regression] incorrect "is protected within this context" error
- Auto-submitted: auto-generated
- References: <bug-66957-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66957
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Aug 18 14:44:06 2015
New Revision: 226975
URL: https://gcc.gnu.org/viewcvs?rev=226975&root=gcc&view=rev
Log:
PR c++/66957
* search.c (protected_accessible_p): Revert fix for 38579.
Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/inherit/access9.C
Modified:
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/search.c
branches/gcc-5-branch/gcc/testsuite/g++.dg/conversion/access1.C