c++/8660: template overloading ICE in tsubst_expr, at cp/pt.c:7644
bangerth@dealii.org
bangerth@dealii.org
Thu Nov 28 16:04:00 GMT 2002
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
More information about the Gcc-prs
mailing list