This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/8239: gcc 3.2 fails to compile simple program with member pointers
- From: bangerth at dealii dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, honza at jikos dot cz, nobody at gcc dot gnu dot org
- Date: 30 Oct 2002 16:16:43 -0000
- Subject: Re: c++/8239: gcc 3.2 fails to compile simple program with member pointers
- Reply-to: bangerth at dealii dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, honza at jikos dot cz, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: gcc 3.2 fails to compile simple program with member pointers
State-Changed-From-To: open->closed
State-Changed-By: bangerth
State-Changed-When: Wed Oct 30 08:16:42 2002
State-Changed-Why:
This is a duplicate of PR/2521. The code is illegal, since
it should be &C::m instead of &(C::M) for pointers to member
functions. There was a long discussion about this starting
here:
http://gcc.gnu.org/ml/gcc-patches/2002-07/msg01427.html
The problem is fixed on mainline, but not 3.2.1. I'll ask
the people that fixed it whether they want to backport the
fix.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8239