From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3495 invoked by alias); 11 Jan 2002 22:16:02 -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 3460 invoked by uid 71); 11 Jan 2002 22:16:01 -0000 Date: Fri, 11 Jan 2002 14:16:00 -0000 Message-ID: <20020111221601.3459.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Paolo Carlini Subject: Re: c++/5348: Problems with valarrays (struct members are private) Reply-To: Paolo Carlini X-SW-Source: 2002-01/txt/msg00436.txt.bz2 List-Id: The following reply was made to PR c++/5348; it has been noted by GNATS. From: Paolo Carlini To: gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org, peter@snake.iap.physik.tu-darmstadt.de Cc: Subject: Re: c++/5348: Problems with valarrays (struct members are private) Date: Fri, 11 Jan 2002 23:10:04 +0100 The testcase can be reduced to: ////////////////// template class _Bin; template struct _Bin<_Type1, double> { _Bin () {} }; _Bin a; ////////////////// Surprisingly, the following is ok: ///////////////// template class _Bin; template class _Bin<_Type1, double> { public: _Bin () {} }; _Bin a; //////////////////// http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5348