From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1069 invoked by alias); 13 May 2002 10:06:02 -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 1055 invoked by uid 71); 13 May 2002 10:06:02 -0000 Date: Mon, 13 May 2002 03:06:00 -0000 Message-ID: <20020513100602.1050.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Reichelt Subject: Re: c++/6620: partial template specialization on int Reply-To: Reichelt X-SW-Source: 2002-05/txt/msg00343.txt.bz2 List-Id: The following reply was made to PR c++/6620; it has been noted by GNATS. From: Reichelt To: gcc-gnats@gcc.gnu.org, jototland@hotmail.com, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org Cc: Subject: Re: c++/6620: partial template specialization on int Date: Mon, 13 May 2002 12:37:15 +0200 Hi, on can reduce the testcase a little more: --------------------------snip here------------------------------- template struct HoldInt {}; template struct Add; template struct Add< HoldInt, HoldInt > {}; template struct Add< HoldInt, HoldInt<-N> > {}; Add< HoldInt<1>, HoldInt<-1> > a; --------------------------snip here------------------------------- By the way, both testcases not only crash gcc but even SGI's native compiler, so they seem to be a real compiler-killers ;-) Greetings, Volker Reichelt http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6620