This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/22618] [3.4 Regression] Template non-type arguments break class access protection



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]