From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24232 invoked by alias); 4 Dec 2002 13:16:09 -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 24216 invoked by uid 71); 4 Dec 2002 13:16:08 -0000 Date: Wed, 04 Dec 2002 05:16:00 -0000 Message-ID: <20021204131608.24215.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Volker Reichelt Subject: Re: c++/3478: ICE when using enum from template class Reply-To: Volker Reichelt X-SW-Source: 2002-12/txt/msg00192.txt.bz2 List-Id: The following reply was made to PR c++/3478; it has been noted by GNATS. From: Volker Reichelt To: gcc-gnats@gcc.gnu.org, jthorn@thp.univie.ac.at, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org Cc: Subject: Re: c++/3478: ICE when using enum from template class Date: Wed, 4 Dec 2002 15:08:15 +0100 Hi, a cleaned-up testcase is the following (crashes 2.95.x, 3.0.x, 3.2-branch and mainline): ----------------------------snip here-------------------------- template struct A { enum E {}; }; template void foo() { enum A::E e1; // OK typename A::E e2; // OK enum A::E e3; // crashes } ----------------------------snip here-------------------------- Regards, Volker http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3478