This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++/9452: [2003-05-03] ICE (segfault) using a dependent expression as argument for the template-id in the return type


The following reply was made to PR c++/9452; it has been noted by GNATS.

From: "Giovanni Bajo" <giovannibajo@libero.it>
To: <gcc-prs@gcc.gnu.org>,
	<bangerth@ticam.utexas.edu>,
	<gcc-bugs@gcc.gnu.org>,
	<gcc-gnats@gcc.gnu.org>,
	<nobody@gcc.gnu.org>
Cc: "Gabriel Dos Reis" <gdr@integrable-solutions.net>
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<N>::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
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]