This is the mail archive of the gcc-bugs@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


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]