From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30297 invoked by alias); 13 Mar 2002 13:16:06 -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 30262 invoked by uid 71); 13 Mar 2002 13:16:02 -0000 Date: Wed, 13 Mar 2002 05:16:00 -0000 Message-ID: <20020313131602.30258.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Reichelt Subject: Re: c++/5931: ICE when using template class that is child if another template class Reply-To: Reichelt X-SW-Source: 2002-03/txt/msg00424.txt.bz2 List-Id: The following reply was made to PR c++/5931; it has been noted by GNATS. From: Reichelt To: gcc-gnats@gcc.gnu.org, f_ker@yahoo.co.uk, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org Cc: Subject: Re: c++/5931: ICE when using template class that is child if another template class Date: Wed, 13 Mar 2002 14:32:42 +0100 Hi, the whole problem boils down to the following code snippet: ------------------------snip here------------------------ template struct A { template class SubA {}; }; template struct B : public A::SubA {}; B b; ------------------------snip here------------------------ Compiling it with "g++ -c" (2.95.3, 3.0.x and 3.1 20020311) on mips-sgi-irix6.5 or i686-pc-linux-gnu I get bug.cpp: In instantiation of `B': bug.cpp:8: instantiated from here bug.cpp:6: Internal error: Segmentation fault Please submit a full bug report, [etc.] Greetings, Volker Reichelt http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5931