This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/22618] [3.4/4.0/4.1 Regression] Template non-type arguments break class access protection
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jul 2005 20:24:38 -0000
- Subject: [Bug c++/22618] [3.4/4.0/4.1 Regression] Template non-type arguments break class access protection
- References: <20050722201534.22618.squell@alumina.nl>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-22 20:24 -------
There are two bugs here, one is a regression from 3.3. The access to the type should be rejected as
inaccessible. I filed the other bug in PR 22620.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |accepts-invalid
Known to fail| |3.4.0 4.0.0 4.1.0
Known to work| |3.3.3
Last reconfirmed|0000-00-00 00:00:00 |2005-07-22 20:24:37
date| |
Summary|Template non-type arguments |[3.4/4.0/4.1 Regression]
|break class access |Template non-type arguments
|protection |break class access
| |protection
Target Milestone|--- |3.4.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22618