This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/8660: template overloading ICE in tsubst_expr, at cp/pt.c:7644
- From: bangerth at dealii dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, martin dot dorey at bluearc dot com, nobody at gcc dot gnu dot org
- Date: 20 Nov 2002 19:05:58 -0000
- Subject: Re: c++/8660: template overloading ICE in tsubst_expr, at cp/pt.c:7644
- Reply-to: bangerth at dealii dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, martin dot dorey at bluearc dot com, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: template overloading ICE in tsubst_expr, at cp/pt.c:7644
State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Wed Nov 20 11:05:57 2002
State-Changed-Why:
Confirmed. At least one case has been fixed on mainline
in the meantime (but is still present in 3.2.1), namely the
last one you mention (with parentheses, declarations swapped):
struct BadgerBuf
{
template<class B>
void ReadPod();
void ReadPod();
};
void BadgerBuf::ReadPod ()
{ (ReadPod<int>) (); }
However, the other ICEs still exist.
I can reproduce all these ICEs with 2.95, so it is not a
regression, although I would love to see this fixed soon
anyway since it seems like a not so uncommon idiom.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8660