From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10693 invoked by alias); 15 Mar 2002 14:16:03 -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 10650 invoked by uid 71); 15 Mar 2002 14:16:02 -0000 Date: Fri, 15 Mar 2002 06:16:00 -0000 Message-ID: <20020315141602.10648.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Reichelt Subject: Re: c++/3792: Internal compiler error in grokdeclarator, at cp/decl.c:9760 Reply-To: Reichelt X-SW-Source: 2002-03/txt/msg00516.txt.bz2 List-Id: The following reply was made to PR c++/3792; it has been noted by GNATS. From: Reichelt To: gcc-gnats@gcc.gnu.org, david.abrahams@rcn.com, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org Cc: Subject: Re: c++/3792: Internal compiler error in grokdeclarator, at cp/decl.c:9760 Date: Fri, 15 Mar 2002 15:36:29 +0100 Hi, an even shorter example that exposes the bug is the following: ---------------------------snip here----------------------------- struct X { template struct Y {}; }; typedef X::template Y<0> y; ---------------------------snip here----------------------------- Compiling this with "g++ -c bug.cpp" results in an ICE. The problem can be found in gcc 2.95.3 and still persists in gcc 3.1 20020311 (prerelease) (checked on i686-pc-linux-gnu and mips-sgi-irix6.5). Greetings, Volker Reichelt http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3792