From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14470 invoked by alias); 3 Jan 2003 12:06:04 -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 14456 invoked by uid 71); 3 Jan 2003 12:06:04 -0000 Date: Fri, 03 Jan 2003 12:06:00 -0000 Message-ID: <20030103120604.14455.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Paolo Carlini Subject: Re: c++/3869: Segmentation fault on specialized outer template with inner member template. Reply-To: Paolo Carlini X-SW-Source: 2003-01/txt/msg00190.txt.bz2 List-Id: The following reply was made to PR c++/3869; it has been noted by GNATS. From: Paolo Carlini To: Neil Booth Cc: jhl@sssonline.com, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, fluxsmith@fluxsmith.com, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org Subject: Re: c++/3869: Segmentation fault on specialized outer template with inner member template. Date: Fri, 03 Jan 2003 13:00:39 +0100 Neil Booth wrote: >Paolo Carlini wrote:- > > >>With current 3.4 no segmentation fault, but instead: >> >>3869.cc:14: error: expected unqualified-id >>3869.cc:17: error: expected init-declarator >>3869.cc:17: error: expected `,' or `;' >> >>If the illegal testcase is changed from: >> >> typedef typename Outer::Inner::Result Result; >> >>to >> >> typedef typename Outer::template Inner::Result Result; >> >>It is compiled just fine with 3.2, 3.3 and mainline. >> >>It seems to me that the PR can be closed. >>Paolo. >> >> >If so, please add a testcase. > Well, if my analysis is correct, which one? I mean, the legal-ized version is compiled just fine by 3.2.1, 3.3 and 3.4, the illegal one doesn't ICE with 3.4 but, good, is not compiled either (see above). So, perhaps just closing it would be fine? Thanks, Paolo.