public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/22618] [3.4/4.0/4.1 Regression] Template non-type arguments break class access protection
       [not found] <bug-22618-11044@http.gcc.gnu.org/bugzilla/>
@ 2005-10-19 21:17 ` mmitchel at gcc dot gnu dot org
  2005-10-20 18:02 ` cvs-commit at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-10-19 21:17 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |mark at codesourcery dot com
                   |dot org                     |
             Status|NEW                         |ASSIGNED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22618


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug c++/22618] [3.4/4.0/4.1 Regression] Template non-type arguments break class access protection
       [not found] <bug-22618-11044@http.gcc.gnu.org/bugzilla/>
  2005-10-19 21:17 ` [Bug c++/22618] [3.4/4.0/4.1 Regression] Template non-type arguments break class access protection mmitchel at gcc dot gnu dot org
@ 2005-10-20 18:02 ` cvs-commit at gcc dot gnu dot org
  2005-10-20 18:04 ` cvs-commit at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-10-20 18:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from cvs-commit at gcc dot gnu dot org  2005-10-20 18:01 -------
Subject: Bug 22618

CVSROOT:        /cvs/gcc
Module name:    gcc
Changes by:     mmitchel@gcc.gnu.org    2005-10-20 18:01:54

Modified files:
        gcc/cp         : search.c ChangeLog 
        gcc/testsuite  : ChangeLog 
Added files:
        gcc/testsuite/g++.dg/parse: access8.C 

Log message:
        PR c++/22618
        * search.c (accessible_p): Check access in the outermost set of
        template parameters.
        PR c++/22618
        * g++.dg/parse/access8.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/search.c.diff?cvsroot=gcc&r1=1.351&r2=1.352
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4949&r2=1.4950
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/parse/access8.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.6218&r2=1.6219


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22618


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug c++/22618] [3.4/4.0/4.1 Regression] Template non-type arguments break class access protection
       [not found] <bug-22618-11044@http.gcc.gnu.org/bugzilla/>
  2005-10-19 21:17 ` [Bug c++/22618] [3.4/4.0/4.1 Regression] Template non-type arguments break class access protection mmitchel at gcc dot gnu dot org
  2005-10-20 18:02 ` cvs-commit at gcc dot gnu dot org
@ 2005-10-20 18:04 ` cvs-commit at gcc dot gnu dot org
  2005-10-20 18:06 ` [Bug c++/22618] [3.4 " mmitchel at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-10-20 18:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from cvs-commit at gcc dot gnu dot org  2005-10-20 18:04 -------
Subject: Bug 22618

CVSROOT:        /cvs/gcc
Module name:    gcc
Branch:         gcc-4_0-branch
Changes by:     mmitchel@gcc.gnu.org    2005-10-20 18:04:39

Modified files:
        gcc/cp         : search.c ChangeLog 
        gcc/testsuite  : ChangeLog 
Added files:
        gcc/testsuite/g++.dg/parse: access8.C 

Log message:
        PR c++/22618
        * search.c (accessible_p): Check access in the outermost set of
        template parameters.
        PR c++/22618
        * g++.dg/parse/access8.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/search.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.345&r2=1.345.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.4648.2.148&r2=1.4648.2.149
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/parse/access8.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.5084.2.475&r2=1.5084.2.476


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22618


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug c++/22618] [3.4 Regression] Template non-type arguments break class access protection
       [not found] <bug-22618-11044@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2005-10-20 18:04 ` cvs-commit at gcc dot gnu dot org
@ 2005-10-20 18:06 ` mmitchel at gcc dot gnu dot org
  2005-10-20 18:07 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-10-20 18:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from mmitchel at gcc dot gnu dot org  2005-10-20 18:06 -------
Fixed in 4.0.3.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[3.4/4.0/4.1 Regression]    |[3.4 Regression] Template
                   |Template non-type arguments |non-type arguments break
                   |break class access          |class access protection
                   |protection                  |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22618


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug c++/22618] [3.4 Regression] Template non-type arguments break class access protection
       [not found] <bug-22618-11044@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2005-10-20 18:06 ` [Bug c++/22618] [3.4 " mmitchel at gcc dot gnu dot org
@ 2005-10-20 18:07 ` pinskia at gcc dot gnu dot org
  2005-12-06 11:06 ` reichelt at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-20 18:07 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|3.4.0 4.0.0 4.1.0           |3.4.0 4.0.0
      Known to work|3.3.3                       |3.3.3 4.1.0 4.0.3
   Target Milestone|4.0.3                       |3.4.6


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22618


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug c++/22618] [3.4 Regression] Template non-type arguments break class access protection
       [not found] <bug-22618-11044@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2005-10-20 18:07 ` pinskia at gcc dot gnu dot org
@ 2005-12-06 11:06 ` reichelt at gcc dot gnu dot org
  2005-12-07 19:32 ` reichelt at gcc dot gnu dot org
  2005-12-07 19:34 ` reichelt at gcc dot gnu dot org
  7 siblings, 0 replies; 8+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-12-06 11:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from reichelt at gcc dot gnu dot org  2005-12-06 11:06 -------
Taking care of the backport.


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|mark at codesourcery dot com|reichelt at gcc dot gnu dot
                   |                            |org
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2005-
                   |                            |12/msg00416.html
           Keywords|                            |monitored, patch


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22618


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug c++/22618] [3.4 Regression] Template non-type arguments break class access protection
       [not found] <bug-22618-11044@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2005-12-06 11:06 ` reichelt at gcc dot gnu dot org
@ 2005-12-07 19:32 ` reichelt at gcc dot gnu dot org
  2005-12-07 19:34 ` reichelt at gcc dot gnu dot org
  7 siblings, 0 replies; 8+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-12-07 19:32 UTC (permalink / raw)
  To: gcc-bugs



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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug c++/22618] [3.4 Regression] Template non-type arguments break class access protection
       [not found] <bug-22618-11044@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2005-12-07 19:32 ` reichelt at gcc dot gnu dot org
@ 2005-12-07 19:34 ` reichelt at gcc dot gnu dot org
  7 siblings, 0 replies; 8+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-12-07 19:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from reichelt at gcc dot gnu dot org  2005-12-07 19:34 -------
Now also fixed on the 3.4 branch.


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22618


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-12-07 19:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-22618-11044@http.gcc.gnu.org/bugzilla/>
2005-10-19 21:17 ` [Bug c++/22618] [3.4/4.0/4.1 Regression] Template non-type arguments break class access protection mmitchel at gcc dot gnu dot org
2005-10-20 18:02 ` cvs-commit at gcc dot gnu dot org
2005-10-20 18:04 ` cvs-commit at gcc dot gnu dot org
2005-10-20 18:06 ` [Bug c++/22618] [3.4 " mmitchel at gcc dot gnu dot org
2005-10-20 18:07 ` pinskia at gcc dot gnu dot org
2005-12-06 11:06 ` reichelt at gcc dot gnu dot org
2005-12-07 19:32 ` reichelt at gcc dot gnu dot org
2005-12-07 19:34 ` reichelt at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).