This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/22618] [3.4 Regression] Template non-type arguments break class access protection
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Dec 2005 19:32:22 -0000
- Subject: [Bug c++/22618] [3.4 Regression] Template non-type arguments break class access protection
- References: <bug-22618-11044@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from reichelt at gcc dot gnu dot org 2005-12-07 19:32 -------
Subject: Bug 22618
Author: reichelt
Date: Wed Dec 7 19:32:17 2005
New Revision: 108173
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108173
Log:
Backport:
2005-10-20 Mark Mitchell <mark@codesourcery.com>
PR c++/22618
* search.c (accessible_p): Check access in the outermost set of
template parameters.
* g++.dg/parse/access8.C: New test.
Added:
branches/gcc-3_4-branch/gcc/testsuite/g++.dg/parse/access8.C
Modified:
branches/gcc-3_4-branch/gcc/cp/ChangeLog
branches/gcc-3_4-branch/gcc/cp/search.c
branches/gcc-3_4-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22618