From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21754 invoked by alias); 20 May 2003 21:36:00 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 21640 invoked by uid 71); 20 May 2003 21:36:00 -0000 Resent-Date: 20 May 2003 21:36:00 -0000 Resent-Message-ID: <20030520213600.21639.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org, Herbert Valerio Riedel Resent-Reply-To: gcc-gnats@gcc.gnu.org, 193830@bugs.debian.org Received: (qmail 7636 invoked from network); 20 May 2003 21:29:58 -0000 Received: from unknown (HELO hirsch.in-berlin.de) (192.109.42.6) by sources.redhat.com with SMTP; 20 May 2003 21:29:58 -0000 Received: from tango.net.local (dsl-213-023-156-180.arcor-ip.net [213.23.156.180]) (authenticated bits=0) by hirsch.in-berlin.de (8.12.9/8.12.9/Debian-1) with ESMTP id h4KLTtaQ013711 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT); Tue, 20 May 2003 23:29:56 +0200 Received: from doko by tango.net.local with local (Exim 4.20 #1 (Debian) [+araqnid]) id 19IEgE-0003Yh-1S; Tue, 20 May 2003 23:29:54 +0200 Message-Id: Date: Tue, 20 May 2003 21:36:00 -0000 From: Matthias Klose Reply-To: 193830@bugs.debian.org To: gcc-gnats@gcc.gnu.org, debian-gcc@lists.debian.org X-Send-Pr-Version: 3.113 X-GNATS-Notify: Herbert Valerio Riedel Subject: c++/10887: [3.3/3.4 regression] specialization of private members structs fails X-SW-Source: 2003-05/txt/msg02212.txt.bz2 List-Id: >Number: 10887 >Category: c++ >Synopsis: [3.3/3.4 regression] specialization of private members structs fails >Confidential: no >Severity: critical >Priority: medium >Responsible: unassigned >State: open >Class: rejects-legal >Submitter-Id: net >Arrival-Date: Tue May 20 21:36:00 UTC 2003 >Closed-Date: >Last-Modified: >Originator: Herbert Valerio Riedel >Release: 3.3 (Debian) (Debian testing/unstable) >Organization: The Debian Project >Environment: >Description: [ Reported to the Debian BTS as report #193830. Please CC 193830@bugs.debian.org on replies. Log of report can be found at http://bugs.debian.org/193830 ] 3.3 and 3.4 CVS 20030501 fail to compile the following code (which would compile with previous g++ versions): $ cat in_class_class.cc class Foo { template struct InFoo; }; template<> struct Foo::InFoo { // ... }; $ g++ -c in_class_class.cc in_class_class.cc:2: error: `template struct Foo::InFoo' is private in_class_class.cc:6: error: within this context $ >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: