[Bug c++/22618] [3.4 Regression] Template non-type arguments break class access protection
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Dec 7 19:32:00 GMT 2005
------- 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
More information about the Gcc-bugs
mailing list