From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24140 invoked by alias); 16 May 2003 17:26:01 -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 24101 invoked by uid 71); 16 May 2003 17:26:01 -0000 Date: Fri, 16 May 2003 17:26:00 -0000 Message-ID: <20030516172601.24099.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: "Giovanni Bajo" Subject: Re: c++/9452: [2003-05-03] ICE (segfault) using a dependent expression as argument for the template-id in the return type Reply-To: "Giovanni Bajo" X-SW-Source: 2003-05/txt/msg01866.txt.bz2 List-Id: The following reply was made to PR c++/9452; it has been noted by GNATS. From: "Giovanni Bajo" To: , , , , Cc: "Gabriel Dos Reis" Subject: Re: c++/9452: [2003-05-03] ICE (segfault) using a dependent expression as argument for the template-id in the return type Date: Fri, 16 May 2003 19:18:14 +0200 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9452 I think the segfault happens while trying to format the error message. GCC is trying to issue an error about the ambiguity of the function call, but I think it gets confused because of the math expression "Len::val - 1" in the return type. This could probably be checked by simply tracking where the segfault happens. If someone can confirm this, I can mark this as a diagnosis bug. Giovanni Bajo