This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/9452: [2003-05-03] ICE (segfault) using a dependent expression as argument for the template-id in the return type
- From: "Giovanni Bajo" <giovannibajo at libero dot it>
- To: <gcc-prs at gcc dot gnu dot org>,<bangerth at ticam dot utexas dot edu>,<gcc-bugs at gcc dot gnu dot org>,<gcc-gnats at gcc dot gnu dot org>,<nobody at gcc dot gnu dot org>
- Cc: "Gabriel Dos Reis" <gdr at integrable-solutions dot net>
- Date: Fri, 16 May 2003 19:18:14 +0200
- Subject: Re: c++/9452: [2003-05-03] ICE (segfault) using a dependent expression as argument for the template-id in the return type
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