From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24166 invoked by alias); 5 Nov 2002 17:16:05 -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 24124 invoked by uid 71); 5 Nov 2002 17:16:03 -0000 Date: Tue, 05 Nov 2002 09:16:00 -0000 Message-ID: <20021105171603.24114.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Volker Reichelt Subject: Re: c++/8164: internal error: segmentation fault Reply-To: Volker Reichelt X-SW-Source: 2002-11/txt/msg00239.txt.bz2 List-Id: The following reply was made to PR c++/8164; it has been noted by GNATS. From: Volker Reichelt To: schnoerr@mailzone.com, gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org Cc: Subject: Re: c++/8164: internal error: segmentation fault Date: Tue, 5 Nov 2002 19:05:27 +0100 Hi, the problem can be reduced to the following code snippet (which looks legal to me): -------------------------------snip here------------------------- template struct A {}; template struct B { void foo() { const int i=0; typedef A< i<=1 > C; typedef A< i<=2 > C; } }; -------------------------------snip here------------------------- gcc 2.95.x rejects the code with an error message. gcc 3.0.x, the 3.2 branch and mainline produce an ICE. Greetings, Volker http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8164