This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/3169: GCC crashes when assigning a template function to a pointer to function variable
- From: bangerth at dealii dot org
- To: eleuteri at na dot infn dot it, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, gdr at gcc dot gnu dot org
- Date: 1 Nov 2002 14:45:22 -0000
- Subject: Re: c++/3169: GCC crashes when assigning a template function to a pointer to function variable
- Reply-to: bangerth at dealii dot org, eleuteri at na dot infn dot it, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, gdr at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: GCC crashes when assigning a template function to a pointer to function variable
State-Changed-From-To: analyzed->closed
State-Changed-By: bangerth
State-Changed-When: Fri Nov 1 06:45:22 2002
State-Changed-Why:
The code is illegal in many ways, the most obvious one being
that you try to pass a pointer to member function as a
template argument where a pointer to function is expected.
I can reproduce the ICE with 3.2.1pre, which technically
is even a regression over 2.95, which only said that it is
bailing out due to confusion by previous errors, but I
think nobody's going to care about such subtle reasoning.
Anyway, with present CVS the ICE is gone and we get a proper
list of errors, so I close this one.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3169